[1.3b60 & 62] (Auto)Save failure
Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice, MapTool BugReport Manager
Forum rules
Posts that do not conform to the READ ME FIRST sticky thread are subject to deletion.
Posts that do not conform to the READ ME FIRST sticky thread are subject to deletion.
[1.3b60 & 62] (Auto)Save failure
My apologies for the lack of detailed info but I was running a campaign at a friends place on his freshly windows 7 (32) installed computer, last saturday. I've installed the latest java client and then I installed the latest MT (b62).
'After a while' (2 hours??) I all of a sudden got an error message stating something in the line of:
error java access? ??? cannot autosave.
Then I got that message every 5? minutes (I know that I could have turned it off but I was busy running the game)
At that point I saved the game several times (which succeeded) then after another 2 hours(?) all of a sudden I also got an error message stating: error saving game (cannot save game?).
'After a while' (2 hours??) I all of a sudden got an error message stating something in the line of:
error java access? ??? cannot autosave.
Then I got that message every 5? minutes (I know that I could have turned it off but I was busy running the game)
At that point I saved the game several times (which succeeded) then after another 2 hours(?) all of a sudden I also got an error message stating: error saving game (cannot save game?).
Last edited by wolph42 on Tue Dec 15, 2009 4:04 am, edited 1 time in total.
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: [1.3b60 & 62] (Auto)Save failure
We really need the error dump.
In the .maptool folder, there should be a log file. Post the stuff that pertained to that issue that day.
In the .maptool folder, there should be a log file. Post the stuff that pertained to that issue that day.
How to use my bundled artwork (MT1.3B60+): http://forums.rptools.net/viewtopic.php?f=8&t=11759
Re: [1.3b60 & 62] (Auto)Save failure
(hmm forgot to turn on the notify on reply, there doesn't happen to be a 'do this automatically'? )
this might take a while as its my friends pc not mine. I'll ask him though
this might take a while as its my friends pc not mine. I'll ask him though
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: [1.3b60 & 62] (Auto)Save failure
well that is a lot faster then expected...
Looking at the time codes it seems that it took 3 hours for the bug to 'occur'
What did I do in those 3 hours... with MT not that much, the players are at the table so they roll the dice and keep track of damage. I only apply damage to npc tokens, use the initiative window (internal) and copy pasted / cut pasted a couple of token from map to map, mainly the pc tokens. I switched maps roughly... 10 times. It might be that the error started to occur just after a map switch...
I can send you the campaign file if you want, but its quite big: 17Mb
logdump
2009-12-12 20:00:03,825 [client.MapTool:236] ERROR - UPnP Error - No Internet Gateway Devices found.<br><br>UPnP port mapping will not be available.
2009-12-12 20:01:00,049 [client.MapTool:236] ERROR - UPnP Error - No Internet Gateway Devices found.<br><br>UPnP port mapping will not be available.
2009-12-12 23:09:22,657 [client.AutoSaveManager$1:108] ERROR - Autosave Failed: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at java.lang.StringBuffer.toString(Unknown Source)
at java.io.StringWriter.toString(Unknown Source)
at com.thoughtworks.xstream.XStream.toXML(XStream.java:726)
at net.rptools.lib.io.PackedFile.setContent(PackedFile.java:152)
at net.rptools.maptool.util.PersistenceUtil.saveCampaign(PersistenceUtil.java:204)
at net.rptools.maptool.client.AutoSaveManager$1.run(AutoSaveManager.java:102)
at java.lang.Thread.run(Unknown Source)
2009-12-12 23:09:22,657 [client.MapTool:236] ERROR - Autosave failed: java.lang.OutOfMemoryError: Java heap space
2009-12-12 23:14:23,172 [client.AutoSaveManager$1:108] ERROR - Autosave Failed: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at java.lang.StringBuffer.toString(Unknown Source)
at java.io.StringWriter.toString(Unknown Source)
at com.thoughtworks.xstream.XStream.toXML(XStream.java:726)
at net.rptools.lib.io.PackedFile.setContent(PackedFile.java:152)
at net.rptools.maptool.util.PersistenceUtil.saveCampaign(PersistenceUtil.java:204)
at net.rptools.maptool.client.AutoSaveManager$1.run(AutoSaveManager.java:102)
at java.lang.Thread.run(Unknown Source)
2009-12-12 23:14:23,172 [client.MapTool:236] ERROR - Autosave failed: java.lang.OutOfMemoryError: Java heap space
2009-12-12 23:19:22,704 [client.AutoSaveManager$1:108] ERROR - Autosave Failed: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at java.lang.StringBuffer.toString(Unknown Source)
at java.io.StringWriter.toString(Unknown Source)
at com.thoughtworks.xstream.XStream.toXML(XStream.java:726)
at net.rptools.lib.io.PackedFile.setContent(PackedFile.java:152)
at net.rptools.maptool.util.PersistenceUtil.saveCampaign(PersistenceUtil.java:204)
at net.rptools.maptool.client.AutoSaveManager$1.run(AutoSaveManager.java:102)
at java.lang.Thread.run(Unknown Source)
2009-12-12 23:19:22,704 [client.MapTool:236] ERROR - Autosave failed: java.lang.OutOfMemoryError: Java heap space
2009-12-12 23:24:23,088 [client.AutoSaveManager$1:108] ERROR - Autosave Failed: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at java.lang.StringBuffer.toString(Unknown Source)
at java.io.StringWriter.toString(Unknown Source)
at com.thoughtworks.xstream.XStream.toXML(XStream.java:726)
at net.rptools.lib.io.PackedFile.setContent(PackedFile.java:152)
at net.rptools.maptool.util.PersistenceUtil.saveCampaign(PersistenceUtil.java:204)
at net.rptools.maptool.client.AutoSaveManager$1.run(AutoSaveManager.java:102)
at java.lang.Thread.run(Unknown Source)
2009-12-12 23:24:23,088 [client.MapTool:236] ERROR - Autosave failed: java.lang.OutOfMemoryError: Java heap space
2009-12-13 00:09:07,395 [client.MapTool:236] ERROR - UPnP Error - No Internet Gateway Devices found.<br><br>UPnP port mapping will not be available.
2009-12-13 01:08:12,289 [client.AutoSaveManager$1:108] ERROR - Autosave Failed: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
2009-12-13 01:08:12,289 [client.MapTool:236] ERROR - Autosave failed: java.lang.OutOfMemoryError: Java heap space
2009-12-13 01:12:17,856 [client.AppActions$71:1975] ERROR - Failure to save: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
2009-12-13 01:12:17,856 [client.MapTool:236] ERROR - Could not save campaign.
2009-12-13 01:13:07,028 [client.AppActions$71:1975] ERROR - Failure to save: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
2009-12-13 01:13:07,028 [client.MapTool:236] ERROR - Could not save campaign.
2009-12-12 20:01:00,049 [client.MapTool:236] ERROR - UPnP Error - No Internet Gateway Devices found.<br><br>UPnP port mapping will not be available.
2009-12-12 23:09:22,657 [client.AutoSaveManager$1:108] ERROR - Autosave Failed: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at java.lang.StringBuffer.toString(Unknown Source)
at java.io.StringWriter.toString(Unknown Source)
at com.thoughtworks.xstream.XStream.toXML(XStream.java:726)
at net.rptools.lib.io.PackedFile.setContent(PackedFile.java:152)
at net.rptools.maptool.util.PersistenceUtil.saveCampaign(PersistenceUtil.java:204)
at net.rptools.maptool.client.AutoSaveManager$1.run(AutoSaveManager.java:102)
at java.lang.Thread.run(Unknown Source)
2009-12-12 23:09:22,657 [client.MapTool:236] ERROR - Autosave failed: java.lang.OutOfMemoryError: Java heap space
2009-12-12 23:14:23,172 [client.AutoSaveManager$1:108] ERROR - Autosave Failed: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at java.lang.StringBuffer.toString(Unknown Source)
at java.io.StringWriter.toString(Unknown Source)
at com.thoughtworks.xstream.XStream.toXML(XStream.java:726)
at net.rptools.lib.io.PackedFile.setContent(PackedFile.java:152)
at net.rptools.maptool.util.PersistenceUtil.saveCampaign(PersistenceUtil.java:204)
at net.rptools.maptool.client.AutoSaveManager$1.run(AutoSaveManager.java:102)
at java.lang.Thread.run(Unknown Source)
2009-12-12 23:14:23,172 [client.MapTool:236] ERROR - Autosave failed: java.lang.OutOfMemoryError: Java heap space
2009-12-12 23:19:22,704 [client.AutoSaveManager$1:108] ERROR - Autosave Failed: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at java.lang.StringBuffer.toString(Unknown Source)
at java.io.StringWriter.toString(Unknown Source)
at com.thoughtworks.xstream.XStream.toXML(XStream.java:726)
at net.rptools.lib.io.PackedFile.setContent(PackedFile.java:152)
at net.rptools.maptool.util.PersistenceUtil.saveCampaign(PersistenceUtil.java:204)
at net.rptools.maptool.client.AutoSaveManager$1.run(AutoSaveManager.java:102)
at java.lang.Thread.run(Unknown Source)
2009-12-12 23:19:22,704 [client.MapTool:236] ERROR - Autosave failed: java.lang.OutOfMemoryError: Java heap space
2009-12-12 23:24:23,088 [client.AutoSaveManager$1:108] ERROR - Autosave Failed: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at java.lang.StringBuffer.toString(Unknown Source)
at java.io.StringWriter.toString(Unknown Source)
at com.thoughtworks.xstream.XStream.toXML(XStream.java:726)
at net.rptools.lib.io.PackedFile.setContent(PackedFile.java:152)
at net.rptools.maptool.util.PersistenceUtil.saveCampaign(PersistenceUtil.java:204)
at net.rptools.maptool.client.AutoSaveManager$1.run(AutoSaveManager.java:102)
at java.lang.Thread.run(Unknown Source)
2009-12-12 23:24:23,088 [client.MapTool:236] ERROR - Autosave failed: java.lang.OutOfMemoryError: Java heap space
2009-12-13 00:09:07,395 [client.MapTool:236] ERROR - UPnP Error - No Internet Gateway Devices found.<br><br>UPnP port mapping will not be available.
2009-12-13 01:08:12,289 [client.AutoSaveManager$1:108] ERROR - Autosave Failed: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
2009-12-13 01:08:12,289 [client.MapTool:236] ERROR - Autosave failed: java.lang.OutOfMemoryError: Java heap space
2009-12-13 01:12:17,856 [client.AppActions$71:1975] ERROR - Failure to save: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
2009-12-13 01:12:17,856 [client.MapTool:236] ERROR - Could not save campaign.
2009-12-13 01:13:07,028 [client.AppActions$71:1975] ERROR - Failure to save: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
2009-12-13 01:13:07,028 [client.MapTool:236] ERROR - Could not save campaign.
What did I do in those 3 hours... with MT not that much, the players are at the table so they roll the dice and keep track of damage. I only apply damage to npc tokens, use the initiative window (internal) and copy pasted / cut pasted a couple of token from map to map, mainly the pc tokens. I switched maps roughly... 10 times. It might be that the error started to occur just after a map switch...
I can send you the campaign file if you want, but its quite big: 17Mb
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: [1.3b60 & 62] (Auto)Save failure
What memory configuration did you run the server with? It looks like you need to run that campaign with more. MT can often fail to save when you're approaching the ceiling of the memory allocation.
The fact that you could manually save the file without error is a little odd though... maybe auto-save uses even more memory for some reason.
The fact that you could manually save the file without error is a little odd though... maybe auto-save uses even more memory for some reason.
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."
Re: [1.3b60 & 62] (Auto)Save failure
i was considering that, but essentially that means that there is a memory leak in MT as it 'happens' after 3 hours with low intensive use.
I was running it at standard config. That is I didn't use the .bat files (as they eventually generate other errors posted also in this section). So the launcher at standard config which from the top of my head is I believe:
stack:2
memsize 256
I was running it at standard config. That is I didn't use the .bat files (as they eventually generate other errors posted also in this section). So the launcher at standard config which from the top of my head is I believe:
stack:2
memsize 256
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: [1.3b60 & 62] (Auto)Save failure
Well, you said that the campaign was 17 megs... is that on one map? If you have multiple maps, you may have switched to one that's going to cause most of the issues later in your game.wolph42 wrote:i was considering that, but essentially that means that there is a memory leak in MT as it 'happens' after 3 hours with low intensive use.
That said, I think people have mentioned some memory leak issues more recently... though I believe at least one of the problems was supposed to have been addressed in b62.
Since you're running this on a Win 7 computer, I'm going to assume that you've got at least 2 megs in that system. Start running that campaign with Memsize: 1024. And watch the memory usage at the bottom right-hand corner. If it starts getting up into the 800's, you're probably going to need to save and reboot... you can try manually flushing the memory by double clicking on the mem-usage numbers first though to see if that helps.I was running it at standard config. That is I didn't use the .bat files (as they eventually generate other errors posted also in this section). So the launcher at standard config which from the top of my head is I believe:
stack:2
memsize 256
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."
Re: [1.3b60 & 62] (Auto)Save failure
We do play over a network though one gm pc and one players pc. Doesn't such a high memory size influence the speed (transfer over network)?
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: [1.3b60 & 62] (Auto)Save failure
Nope, it shouldn't--giving MapTool a higher memory allocation just gives it more space in which to perform whatever calculations it needs to do. That won't affect the amount of time it takes to transfer information between two computers, which will be almost entirely dependent on the amount of data you need to transfer, and the speed of the network you're on.wolph42 wrote:We do play over a network though one gm pc and one players pc. Doesn't such a high memory size influence the speed (transfer over network)?
Re: [1.3b60 & 62] (Auto)Save failure
K thnx for the tip I'll go for that next time!
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