Stack size issue in 1.9.3
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.
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.
Stack size issue in 1.9.3
Downloaded 1.9.3 and was running it through my framework, to make sure there aren't any gotchas before my players try it.
My min heap size is 1G, max is 4G, and thread stack size is 8M. This is what we've always run at and haven't hadn't any issues.
However, when I load our campaign into 1.9.3 and try any of our macros, I get...
A stack overflow has occurred.
This is commonly because a macro being used has exceeded the stack space specified when MapTool was executed.
Please specify a larger stack size for MapTool and run again.
Like I said, everything has run just fine in 1.8.3 (our current version) and I would like to get upgraded. Is this just a matter of increasing the 8M stack size? Is there a "standard" stack size now, larger than the 8M I have ours set to?
Thanks!
My min heap size is 1G, max is 4G, and thread stack size is 8M. This is what we've always run at and haven't hadn't any issues.
However, when I load our campaign into 1.9.3 and try any of our macros, I get...
A stack overflow has occurred.
This is commonly because a macro being used has exceeded the stack space specified when MapTool was executed.
Please specify a larger stack size for MapTool and run again.
Like I said, everything has run just fine in 1.8.3 (our current version) and I would like to get upgraded. Is this just a matter of increasing the 8M stack size? Is there a "standard" stack size now, larger than the 8M I have ours set to?
Thanks!
Re: Stack size issue in 1.9.3
Just tried increasing it to 12M, still get stack overflow errors on macros.
- Full Bleed
- Demigod
- Posts: 4736
- Joined: Sun Feb 25, 2007 11:53 am
- Location: FL
Re: Stack size issue in 1.9.3
I'm afraid your report is a bit too non-specific to be of much use. When you say "on macros" you mean all of them? That alone, doesn't sound right because even if you do have low stack issues due to something changing in a version it would most certainly only affect certain macros... not all of them.
And if there was suddenly a version change caused issue, then the offending macros could be looked at to compare with what updated to see what changed.
Are you sure you've set your mem and stack size correctly in 1.9.3? I think the syntax changed in 1.9.x. You might want to share your 1.9.3 config file so someone can look at it.
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."
Re: Stack size issue in 1.9.3
FB, it does seem to be all the macros. If I open the campaign in 1.8.3, everything works. in 1.9.3, 90% of the macros run from the character or the GM tab throw the stack overflow error.
When I got to Preferences->Startup in 1.9.3, I can see the 1G, 4G, 8M settings, so I "think" I have my config set up correctly. However, I have attached it here if someone could double check it.
I have the options set here as...
[JavaOptions]
-Xms1G
-Xmx4G
-Xss12M
I know that the 1.9.3 files have a slightly different format...
[JavaOptions]
java-options=-Djpackage.app-version=1.0
But when i tried that format, the options don't show in Maptool itself after a restart of MT.
Thanks!
When I got to Preferences->Startup in 1.9.3, I can see the 1G, 4G, 8M settings, so I "think" I have my config set up correctly. However, I have attached it here if someone could double check it.
I have the options set here as...
[JavaOptions]
-Xms1G
-Xmx4G
-Xss12M
I know that the 1.9.3 files have a slightly different format...
[JavaOptions]
java-options=-Djpackage.app-version=1.0
But when i tried that format, the options don't show in Maptool itself after a restart of MT.
Thanks!
- Attachments
-
- MapTool.txt
- MT Config
- (14.68 KiB) Downloaded 48 times
Re: Stack size issue in 1.9.3
most likely a memory setting setup incorrectly, check out: https://discord.com/channels/2962308222 ... 1058382899
invite to disord can be found in my sig.
invite to disord can be found in my sig.
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: Stack size issue in 1.9.3
Hmmm...i've never actually used the MT discord channel. When I go there, I see nothing...?
Re: Stack size issue in 1.9.3
strange, there are about 4000 active users so it should say something. Anyhoot I updated the link in my sig: https://discord.gg/jWVDHCku try again
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: Stack size issue in 1.9.3
So I went and tried one more thing, i updated the setting in config using the current syntax.
When I launched MT, those settings no longer showed in the Preferences->Startup window (blank for those boxes) but I no longer get the stack size errors when I call my macros. Everything seems to be working fine...except the display.
It does say that it was unable to load the config from the install location and that they would have to be updated manually. If you install it to custom location (as I did), is it not able to load them into the UI?
When I launched MT, those settings no longer showed in the Preferences->Startup window (blank for those boxes) but I no longer get the stack size errors when I call my macros. Everything seems to be working fine...except the display.
It does say that it was unable to load the config from the install location and that they would have to be updated manually. If you install it to custom location (as I did), is it not able to load them into the UI?
- Full Bleed
- Demigod
- Posts: 4736
- Joined: Sun Feb 25, 2007 11:53 am
- Location: FL
Re: Stack size issue in 1.9.3
What OS are you using?
Something strange seems to be going on... If it can't load the config, but things are now working after editing the config... then I'm not sure what changed... not sure I trust what's being reported.
It seems like MT thinks you have a permissions issue with that install directory...
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."
Re: Stack size issue in 1.9.3
OS is Win 10
- Full Bleed
- Demigod
- Posts: 4736
- Joined: Sun Feb 25, 2007 11:53 am
- Location: FL
Re: Stack size issue in 1.9.3
I'd try uninstalling from the current location and then installing to a notably "unprotected" location. Something like:
c:\Maptool\1.9.3\
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."
Re: Stack size issue in 1.9.3
I'll play around with install locations this week and let you know