RPTools.net

Discussion and Support

Skip to content

It is currently Wed Jun 28, 2017 5:24 am 




Forum rules


Posting now open to all registered forum users.



Reply to topic  [ 8 posts ] 

Previous topic | Next topic 

  Print view

Author Message
 Offline
Kobold
 
Joined: Wed Oct 26, 2016 11:31 am
Posts: 4
 Post subject: Memory issues
PostPosted: Wed Oct 26, 2016 12:05 pm 
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


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9254
Location: Netherlands
 Post subject: Re: Memory issues
PostPosted: Wed Oct 26, 2016 2:27 pm 
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

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
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


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Sun Feb 25, 2007 11:53 am
Posts: 3612
Location: MD
 Post subject: Re: Memory issues
PostPosted: Wed Oct 26, 2016 3:07 pm 
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?


What OS are you running? Is it 64 bit?

_________________
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."


Top
 Profile  
 
 Offline
Kobold
 
Joined: Wed Oct 26, 2016 11:31 am
Posts: 4
 Post subject: Re: Memory issues
PostPosted: Thu Oct 27, 2016 5:21 am 
Yes. win10. java version too


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9254
Location: Netherlands
 Post subject: Re: Memory issues
PostPosted: Thu Oct 27, 2016 5:55 am 
so you need to up the max mem.

_________________
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
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


Top
 Profile  
 
 Offline
Kobold
 
Joined: Wed Oct 26, 2016 11:31 am
Posts: 4
 Post subject: Re: Memory issues
PostPosted: Thu Oct 27, 2016 8:48 am 
i can't set the max memory nor in the file .bat neither in maptoollauncher.exe, cause this one don't work :(


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9254
Location: Netherlands
 Post subject: Re: Memory issues
PostPosted: Thu Oct 27, 2016 9:54 am 
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:

Code:

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

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
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


Top
 Profile  
 
 Offline
Kobold
 
Joined: Wed Oct 26, 2016 11:31 am
Posts: 4
 Post subject: Re: Memory issues
PostPosted: Thu Oct 27, 2016 2:41 pm 
ok, i solved!! thank you guys :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 8 posts ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: No registered users and 2 guests





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman