Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

Crashes when I add assets and tokens

I'm having trouble building a map, Roll 20 keeps crashing so I can't make any progress.  I built the basic wall structure, doors and floor in Dungeon Painter - it's 44 squares wide and high.  To import it to Roll 20 I had to do it 1/4 at a time as the whole map was too big a file to import.  So far so good, got the map scaled correctly and it joins up really neatly so I sent it off to the Map layer.  Then I put in the Updated Dynamic Lighting and started adding some assets that were put to the Map layer to add a bit more detail.  I've also started pre-loading the map with creature tokens.  But we're not talking huge numbers of either of these (less than 50 in total so far).  If I try to add any more assets/tokens to this map Roll20 crashes, I get a message on my laptop telling me that my AMD driver stopped working but has successfully recovered, Roll20 becomes completely unresponsive and I have to close the browser.  I can add exactly the same assets/tokens to other (smaller) maps in the same game without a problem. This happens whether I use Chrome or Firefox.  I've checked my AMD driver and it doesn't need an update. Any ideas folks?
You could try using task manager to check the size of your browser process. It might be that your 4 sections are maps are using up a lot of memory. If your map is only 44 x 44 squares, that is a picture that would be 3080x3080 pixels. Are the maps a PNG or JPG? The advice is to use JPG since it allows for more compression.
Thanks for your response.  I made the map into 4 sections as I couldn't upload it in one piece, the file size was too large.  Each of the 4 sections is between 4.4MB and 5.2MB but they are PNG's.  So maybe I could try re-starting but using JPG.  I'll let you know how that goes once I have a chance to try it. I spent quite a bit of time over the weekend tryingto update my laptop drivers and change settings to make it perform better and for one glorious moment I thought I'd solved it as I managed to add about half a dozen assets but then it crashed again.
1597153996
Kraynic
Pro
Sheet Author
How maps do for different people will depend on hardware, internet service, and probably factors I don't even think about, but you might find that your players can't even load a map that size.  I know I have one that is hit and miss with any map that is over 2mb, so I have to be pretty conscious of how large (data wise) my maps are.
1597161089
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Some things to consider: 1. Unless the image needs transparency, always use jpg over png, with as much compression as you feel comfortable with. 2. 44 x 44 units means nothing for image size, because we don't know how many pixels your map is per unit. The Roll20 standard is 70px per unit at 100% magnification. Some folks double that for maps, but I don't see the need, usually. Tokens are typically produced at 2x or 4x resolution, since the graphics are more personal and players like to see themselves in glorious HD, regardless of zoom level. 3. 44 x 44 units is usually a reasonably sized map, but near the large end of acceptability when considered from a mathematical POV (i.e. how many squares the app needs to track). If you map's file size (not dimensions) are great, then yeah, you are doing the right thing by slicing it up into several smaller chunks. Performance will probably be most affected by how much dynamic lighting you add.
Thanks for the advice folks, at least I know I'm not going completely mad.  I'll look to see if I can divide up the level of the dungeon to split it across multiple map pages.
So, I started from scratch and made sure the maps I imported were JPG.  I also split the dungeon level up into 2 pages.  Got them both finished, complete with dynamic lighting and creature tokens without crashing.  Thanks again Farling, Kraynic and keithcurtis.
1597336113
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Sweet!