How do I set memory and stack sizes in new versions of MT?

Thoughts, Help, Feature Requests, Bug Reports, Developing code for...

Moderators: dorpond, trevor, Azhrei

Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior. :)
Post Reply
User avatar
Farland
Cave Troll
Posts: 80
Joined: Sat Dec 05, 2009 8:02 am

How do I set memory and stack sizes in new versions of MT?

Post by Farland »

The title says it all. I am getting java overflow errors. I am guessing maybe it's because of the memory settings. How do I change them? Otherwise, any ideas? I'm on Windows 10 with 1.4.0.5 and plenty of memory etc. on my machine. Thanks!
An epic roleplaying resource:

http://www.farlandworld.com

Twitter: @Farland_World

User avatar
aliasmask
RPTools Team
Posts: 9024
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

Re: How do I set memory and stack sizes in new versions of M

Post by aliasmask »

You should be using the launcher and if you set it so the prompt no longer shows up then you can delete the mt.cfg file in your folder where the launcher exists then you can re-enter your memory settings. I recommend 2048 max mem and stack of 3 leaving min mem alone. If MT doesn't load with those settings then it's likely you installed the 32bit version of java and you need to install the 64bit version. It's a manual install.

User avatar
Farland
Cave Troll
Posts: 80
Joined: Sat Dec 05, 2009 8:02 am

Re: How do I set memory and stack sizes in new versions of M

Post by Farland »

Thanks for responding. I deleted the mt.cfg file but nothing happened. What am I doing wrong?
An epic roleplaying resource:

http://www.farlandworld.com

Twitter: @Farland_World

taustinoc
Dragon
Posts: 516
Joined: Mon Aug 03, 2015 6:30 pm

Re: How do I set memory and stack sizes in new versions of M

Post by taustinoc »

Are you using the launcher? Or double-clicking on the MapTool .jar file directly?

User avatar
Farland
Cave Troll
Posts: 80
Joined: Sat Dec 05, 2009 8:02 am

Re: How do I set memory and stack sizes in new versions of M

Post by Farland »

Okay, so when I use the launcher it allows me to put in the memory and stack sizes but when I hit "launch maptool" nothing happens.
An epic roleplaying resource:

http://www.farlandworld.com

Twitter: @Farland_World

User avatar
Farland
Cave Troll
Posts: 80
Joined: Sat Dec 05, 2009 8:02 am

Re: How do I set memory and stack sizes in new versions of M

Post by Farland »

This is resolved. I had the 32-bit java version installed on my 64=bit machine. Installed the correct version and the launcher now works.
An epic roleplaying resource:

http://www.farlandworld.com

Twitter: @Farland_World

Post Reply

Return to “MapTool”