Hi guys,
I need to export a very huge map (very huge!) and when i try to export the entire map, maptool doesn't save the file neither give error messages or anything else...
I tried than with smaller dimensions and got this error:
I tried to export maps every time smaller than the previous, until it send me this error message:
"screenCapture () caught: out of memory
java.lang.outofmemory: java heap space"
It hasn't problems with small maps, it can export them.
now, i tried to change the max value of heap memory in file .bat, but it seems it doesn't work.
i can't launch with maptoollacuncher.exe because of this error "Error: Unable to access jarfile maptool-*.jar " and need to launch with maptool-1.4.0.4.jar
what should i do?
thanks
Memory issues
Moderators: dorpond, trevor, Azhrei
Forum rules
Posting now open to all registered forum users.
Posting now open to all registered forum users.
Re: Memory issues
you need to run the launcher and in the laucher you need to maximize your max mem. Now if you are running java x32 that max is ~1500mb (and probly not enough) if you run java x64 you can set it to a much larger amount. Depending on the amount of memory you have in total you can raise it to 4096 or even 8182. If you don't know which java version you have: then you have version x32 !! You need to actively download the x64 edition. Uninstall the old one and then install the new one.
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
- Full Bleed
- Demigod
- Posts: 4736
- Joined: Sun Feb 25, 2007 11:53 am
- Location: FL
Re: Memory issues
What OS are you running? Is it 64 bit?Taranis wrote:i can't launch with maptoollacuncher.exe because of this error "Error: Unable to access jarfile maptool-*.jar " and need to launch with maptool-1.4.0.4.jar
what should i do?
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."
Re: Memory issues
Yes. win10. java version too
Re: Memory issues
so you need to up the max mem.
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
Re: Memory issues
i can't set the max memory nor in the file .bat neither in maptoollauncher.exe, cause this one don't work
Re: Memory issues
ah right, I've been working with the dev version for so long now i forget that the current version still works without the wrapper...
have you tried this in the bat:
have you tried this in the bat:
Code: Select all
set STACK=4M
set MAXMEM=4096M
set JAVA=javaw
set VERS=1.4.0.4
start "MapTool" %JAVA% -Xmx%MAXMEM% -Xss%STACK% -jar maptool-%VERS%.jar run
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
Re: Memory issues
ok, i solved!! thank you guys