Welcome! Wikis are websites that everyone can build together. It's easy!

Increase RAM Allotment

With the growing popularity of map creation programs such as Campaign Cartographer 3 and Dundjinni, many users will inevitably begin using high-resolution and / or large scale maps. Large maps, such as 2+ MB jpgs or those with over 2,000 pixel dimensions, can cause performance issues in many Java based applications. The Plain English reason for this is that the Java Run-time Environment has a memory setting that is static, and to be more compatible with everyone's systems, the application default is usually set fairly low, like 256 MB for example. So while your system may have 1 GB or more of RAM, the program will not use any more than is set in the default heap size.

Fear not!


There is a batch file in your d20pro directory that can be easily modified to accommodate your system's potential.
  • Locate the file: d20Pro.bat
  • Right-click the file and choose Edit
  • On the first line of the batch file, find javaw -Xmx256m and increase the 256 number to 512, 768, or 1024, depending on how much memory your system can allocate.

IMPORTANT: DO NOT set it to use all of your memory, because you still need RAM for basic windows operation and such. I would recommend leaving at least 256 MB of your system memory for other applications. In short, here are my (personal) recommendations for your settings based on your system RAM.
  • If you have 512 MB, don't change it
  • If you have 768 MB, maybe set it to 512, but be prepared for some buggy behavior.
  • If you have 1 GB (1024 MB), set it to 512 MB
  • If you have 1.5 GB +, set it to 1024m

FINALLY, remember that you have to start d20pro using this batch file from now on. Do not use the regular executable. You should see a substantial difference in performance with respect to high resolution or large maps.



Latest page update: made by Anonymous, Mar 23 2008, 10:22 AM EDT (about this update About This Update Posted Anonymously Edited anonymously

1 widget added
1 widget deleted

view changes

- complete history)
Keyword tags: tips
More Info: links to this page

There are no threads for this page. 

Anonymous  (Get credit for your thread)


Related Content

  (what's this?Related ContentThanks to keyword tags, links to related pages and threads are added to the bottom of your pages. Up to 15 links are shown, determined by matching tags and by how recently the content was updated; keeping the most current at the top. Share your feedback on Wetpaint Central.)
Top Contributors