Initial heap size - cant load modul

hi there - trying to load streets of stalingrad sc 1-3 and i get this error:
“The initial heap size stored in your Preferences for this module is too large. The failsafe initial heap size of 64MB will be used instead. Please decrease the initial heap size in your Preferences, and restart VASSAL.”

Then nothing happens, vassal just stands there - can i edit the heap size in the module somehow via notepad or somthing, to get it running. All the other scenarios for SoS runs fine.

Thus spake kristianhansen:

hi there - trying to load streets of stalingrad sc 1-3 and i get this
error:
“The initial heap size stored in your Preferences for this module is too
large. The failsafe initial heap size of 64MB will be used instead.
Please decrease the initial heap size in your Preferences, and restart
VASSAL.”

Then nothing happens, vassal just stands there - can i edit the heap
size in the module somehow via notepad or somthing, to get it running.
All the other scenarios for SoS runs fine.

What do you mean by “nothing happens”? Has the program become
unresponsive?


J.

no it runs, and even tells me that it has run out of memory - according to the task manager it runs. But the scenario does not load, there is no second vassal window (if you know what i mean)

Thus spake kristianhansen:

no it runs, and even tells me that it has run out of memory - according
to the task manager it runs. But the scenario does not load, there is no
second vassal window (if you know what i mean)

Firstly, you need to address the invalid minimum heap problem. Set
a value for that in Preferences, then restart VASSAL, as the error
mesage says. Are you able to load the scenario after doing that?


J.

NOPE:( - All i get is the circle, as if it is loading, but nothing happens

error log:

15 Jun 2011 20:13:23.938 0 – Starting
15 Jun 2011 20:13:23.938 0 – OS Windows 7
15 Jun 2011 20:13:23.938 0 – Java version 1.6.0_25
15 Jun 2011 20:13:23.938 0 – VASSAL version 3.1.15
15 Jun 2011 20:13:24.000 0 – Manager
15 Jun 2011 20:13:30.490 0 – Loading module file C:\Users\kristian.hansen\Documents\Vassal\SoS_Scenarios_1-3v02.vmod
15 Jun 2011 20:13:30.490 0 – Loading module Scenarios 1-3
15 Jun 2011 20:13:31.863 0 C:\Program Files (x86)\Java\jre6\bin\java -Xms64M -Xmx128M -DVASSAL.id=1 -Duser.home=C:\Users\kristian.hansen -cp lib\Vengine.jar VASSAL.launch.Player
15 Jun 2011 20:13:58.383 1 java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
at VASSAL.tools.opcache.OpCache.getFuture(OpCache.java:316)
at VASSAL.tools.opcache.OpCache.get(OpCache.java:254)
at VASSAL.tools.opcache.AbstractOpImpl.get(AbstractOpImpl.java:79)
at VASSAL.tools.imageop.AbstractOpImpl.getImage(AbstractOpImpl.java:98)
at VASSAL.tools.imageop.AbstractOpImpl.getImage(AbstractOpImpl.java:78)
at VASSAL.configure.IconConfigurer.setValue(IconConfigurer.java:62)
at VASSAL.counters.MovementMarkable.mySetType(MovementMarkable.java:88)
at VASSAL.counters.MovementMarkable.(MovementMarkable.java:73)
at VASSAL.build.module.BasicCommandEncoder$20.createDecorator(BasicCommandEncoder.java:189)
at VASSAL.build.module.BasicCommandEncoder.createDecorator(BasicCommandEncoder.java:299)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:347)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.decode(BasicCommandEncoder.java:387)
at VASSAL.launch.BasicModule.decodeSubCommand(BasicModule.java:244)
at VASSAL.launch.BasicModule.decode(BasicModule.java:228)
at VASSAL.build.widget.PieceSlot.getPiece(PieceSlot.java:159)
at VASSAL.build.widget.PieceSlot.getI18nData(PieceSlot.java:433)
at VASSAL.build.AbstractConfigurable.add(AbstractConfigurable.java:140)
at VASSAL.build.module.map.SetupStack.add(SetupStack.java:348)
at VASSAL.build.Builder.build(Builder.java:76)
at VASSAL.build.AbstractBuildable.build(AbstractBuildable.java:68)
at VASSAL.build.Builder.create(Builder.java:103)
at VASSAL.build.Builder.build(Builder.java:73)
at VASSAL.build.AbstractBuildable.build(AbstractBuildable.java:68)
at VASSAL.build.module.Map.build(Map.java:488)
at VASSAL.build.Builder.create(Builder.java:103)
at VASSAL.build.Builder.build(Builder.java:73)
at VASSAL.build.AbstractBuildable.build(AbstractBuildable.java:68)
at VASSAL.launch.BasicModule.build(BasicModule.java:142)
at VASSAL.launch.BasicModule.build(BasicModule.java:105)
at VASSAL.build.GameModule.init(GameModule.java:783)
at VASSAL.launch.Player.launch(Player.java:79)
at VASSAL.launch.Launcher$1.run(Launcher.java:160)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Java heap space
at javax.imageio.ImageTypeSpecifier.createComponentCM(Unknown Source)
at javax.imageio.ImageTypeSpecifier$Interleaved.(Unknown Source)
at javax.imageio.ImageTypeSpecifier.createInterleaved(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageReader.getImageTypes(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageReader.readImage(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageReader.read(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)
at VASSAL.tools.image.ImageLoader.loadImageIO(ImageLoader.java:77)
at VASSAL.tools.image.ImageLoader.load(ImageLoader.java:212)
at VASSAL.tools.image.ImageLoader.getImage(ImageLoader.java:49)
at VASSAL.tools.image.ImageUtils.getImage(ImageUtils.java:330)
at VASSAL.tools.imageop.SourceOpBitmapImpl.eval(SourceOpBitmapImpl.java:95)
at VASSAL.tools.imageop.SourceOpBitmapImpl.eval(SourceOpBitmapImpl.java:43)
at VASSAL.tools.opcache.OpCache.getFuture(OpCache.java:311)
at VASSAL.tools.opcache.OpCache.get(OpCache.java:254)
at VASSAL.tools.opcache.AbstractOpImpl.get(AbstractOpImpl.java:79)
at VASSAL.tools.imageop.AbstractOpImpl.getImage(AbstractOpImpl.java:98)
at VASSAL.tools.imageop.AbstractOpImpl.getImage(AbstractOpImpl.java:78)
at VASSAL.configure.IconConfigurer.setValue(IconConfigurer.java:62)
at VASSAL.counters.MovementMarkable.mySetType(MovementMarkable.java:88)
at VASSAL.counters.MovementMarkable.(MovementMarkable.java:73)
at VASSAL.build.module.BasicCommandEncoder$20.createDecorator(BasicCommandEncoder.java:189)
at VASSAL.build.module.BasicCommandEncoder.createDecorator(BasicCommandEncoder.java:299)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:347)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.decode(BasicCommandEncoder.java:387)
at VASSAL.launch.BasicModule.decodeSubCommand(BasicModule.java:244)

15 Jun 2011 20:14:02.657 1 java.lang.OutOfMemoryError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at VASSAL.tools.ThrowableUtils.throwMe(ThrowableUtils.java:103)
at VASSAL.tools.ThrowableUtils.throwRecent(ThrowableUtils.java:95)
at VASSAL.build.Builder.create(Builder.java:108)
at VASSAL.build.Builder.build(Builder.java:73)
at VASSAL.build.AbstractBuildable.build(AbstractBuildable.java:68)
at VASSAL.launch.BasicModule.build(BasicModule.java:142)
at VASSAL.launch.BasicModule.build(BasicModule.java:105)
at VASSAL.build.GameModule.init(GameModule.java:783)
at VASSAL.launch.Player.launch(Player.java:79)
at VASSAL.launch.Launcher$1.run(Launcher.java:160)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.OutOfMemoryError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at VASSAL.tools.ThrowableUtils.throwMe(ThrowableUtils.java:103)
at VASSAL.tools.ThrowableUtils.throwRecent(ThrowableUtils.java:95)
at VASSAL.build.Builder.create(Builder.java:108)
at VASSAL.build.Builder.build(Builder.java:73)
at VASSAL.build.AbstractBuildable.build(AbstractBuildable.java:68)
at VASSAL.build.module.Map.build(Map.java:488)
at VASSAL.build.Builder.create(Builder.java:103)
… 21 more
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at sun.misc.Resource.getBytes(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at VASSAL.tools.ErrorDialog.show(ErrorDialog.java:73)
at VASSAL.tools.ErrorDialog.bug(ErrorDialog.java:52)
at VASSAL.tools.imageop.AbstractOpImpl.getImage(AbstractOpImpl.java:88)
at VASSAL.configure.IconConfigurer.setValue(IconConfigurer.java:62)
at VASSAL.counters.MovementMarkable.mySetType(MovementMarkable.java:88)
at VASSAL.counters.MovementMarkable.(MovementMarkable.java:73)
at VASSAL.build.module.BasicCommandEncoder$20.createDecorator(BasicCommandEncoder.java:189)
at VASSAL.build.module.BasicCommandEncoder.createDecorator(BasicCommandEncoder.java:299)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:347)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.decode(BasicCommandEncoder.java:387)
at VASSAL.launch.BasicModule.decodeSubCommand(BasicModule.java:244)
at VASSAL.launch.BasicModule.decode(BasicModule.java:228)
at VASSAL.build.widget.PieceSlot.getPiece(PieceSlot.java:159)
at VASSAL.build.widget.PieceSlot.getI18nData(PieceSlot.java:433)
at VASSAL.build.AbstractConfigurable.add(AbstractConfigurable.java:140)
at VASSAL.build.module.map.SetupStack.add(SetupStack.java:348)

Thus spake kristianhansen:

error log:

-Xms64M -Xmx128M -DVASSAL.id=1 -Duser.home=C:\Users\kristian.hansen -cp

Your maximum heap is also too low. Try setting it to at least 256MB.
You might find that you need as much as 512MB.


J.

in vassal? It changes nothing - the same error comes up at start on this module

Thus spake kristianhansen:

in vassal? It changes nothing - the same error comes up at start on this
module

New heap settings take effect only after you restart VASSAL.


J.

i did that - no effect. It seems to me, that it is in the module. I have unistalled vassal and removed the module several times and downloaded it again - but the same error keeps on :frowning:

It seems like there is some information abaout the settings for the given module that is stored somewhere, it all began when i changed the heap settings in the module.

Thus spake kristianhansen:

i did that - no effect. It seems to me, that it is in the module. I have
unistalled vassal and removed the module several times and downloaded it
again - but the same error keeps on :frowning:

No, it’s not in the module. Heap sizes aren’t stored there. To what do
you have your initial and maximum heaps set?


J.

256 and 512

Thus spake kristianhansen:

256 and 512

Those are reasonable settings. And you’ve closed VASSAL after setting
them, not just the module, but VASSAL itself? Show me what you get in
the errorLog after loading the module with those settings.


J.

yes i have restarted it here’s the error log:
16 Jun 2011 11:36:00.491 0 – Starting
16 Jun 2011 11:36:00.492 0 – OS Windows 7
16 Jun 2011 11:36:00.492 0 – Java version 1.6.0_25
16 Jun 2011 11:36:00.492 0 – VASSAL version 3.1.15
16 Jun 2011 11:36:00.606 0 – Manager
16 Jun 2011 11:36:13.774 0 – Loading module file C:\Users\kristian.hansen\Documents\Vassal\SoS_Scenarios_1-3v02.vmod
16 Jun 2011 11:36:13.775 0 – Loading module Scenarios 1-3
16 Jun 2011 11:36:16.203 0 C:\Program Files (x86)\Java\jre6\bin\java -Xms64M -Xmx128M -DVASSAL.id=1 -Duser.home=C:\Users\kristian.hansen -cp lib\Vengine.jar VASSAL.launch.Player
16 Jun 2011 11:36:42.209 1 java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
at VASSAL.tools.opcache.OpCache.getFuture(OpCache.java:316)
at VASSAL.tools.opcache.OpCache.get(OpCache.java:254)
at VASSAL.tools.opcache.AbstractOpImpl.get(AbstractOpImpl.java:79)
at VASSAL.tools.imageop.AbstractOpImpl.getImage(AbstractOpImpl.java:98)
at VASSAL.tools.imageop.AbstractOpImpl.getImage(AbstractOpImpl.java:78)
at VASSAL.configure.IconConfigurer.setValue(IconConfigurer.java:62)
at VASSAL.counters.MovementMarkable.mySetType(MovementMarkable.java:88)
at VASSAL.counters.MovementMarkable.(MovementMarkable.java:73)
at VASSAL.build.module.BasicCommandEncoder$20.createDecorator(BasicCommandEncoder.java:189)
at VASSAL.build.module.BasicCommandEncoder.createDecorator(BasicCommandEncoder.java:299)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:347)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.decode(BasicCommandEncoder.java:387)
at VASSAL.launch.BasicModule.decodeSubCommand(BasicModule.java:244)
at VASSAL.launch.BasicModule.decode(BasicModule.java:228)
at VASSAL.build.widget.PieceSlot.getPiece(PieceSlot.java:159)
at VASSAL.build.widget.PieceSlot.getI18nData(PieceSlot.java:433)
at VASSAL.build.AbstractConfigurable.add(AbstractConfigurable.java:140)
at VASSAL.build.module.map.SetupStack.add(SetupStack.java:348)
at VASSAL.build.Builder.build(Builder.java:76)
at VASSAL.build.AbstractBuildable.build(AbstractBuildable.java:68)
at VASSAL.build.Builder.create(Builder.java:103)
at VASSAL.build.Builder.build(Builder.java:73)
at VASSAL.build.AbstractBuildable.build(AbstractBuildable.java:68)
at VASSAL.build.module.Map.build(Map.java:488)
at VASSAL.build.Builder.create(Builder.java:103)
at VASSAL.build.Builder.build(Builder.java:73)
at VASSAL.build.AbstractBuildable.build(AbstractBuildable.java:68)
at VASSAL.launch.BasicModule.build(BasicModule.java:142)
at VASSAL.launch.BasicModule.build(BasicModule.java:105)
at VASSAL.build.GameModule.init(GameModule.java:783)
at VASSAL.launch.Player.launch(Player.java:79)
at VASSAL.launch.Launcher$1.run(Launcher.java:160)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferByte.(Unknown Source)
at java.awt.image.ComponentSampleModel.createDataBuffer(Unknown Source)
at java.awt.image.Raster.createWritableRaster(Unknown Source)
at javax.imageio.ImageTypeSpecifier.createBufferedImage(Unknown Source)
at javax.imageio.ImageReader.getDestination(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageReader.readImage(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageReader.read(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)
at VASSAL.tools.image.ImageLoader.loadImageIO(ImageLoader.java:77)
at VASSAL.tools.image.ImageLoader.load(ImageLoader.java:212)
at VASSAL.tools.image.ImageLoader.getImage(ImageLoader.java:49)
at VASSAL.tools.image.ImageUtils.getImage(ImageUtils.java:330)
at VASSAL.tools.imageop.SourceOpBitmapImpl.eval(SourceOpBitmapImpl.java:95)
at VASSAL.tools.imageop.SourceOpBitmapImpl.eval(SourceOpBitmapImpl.java:43)
at VASSAL.tools.opcache.OpCache.getFuture(OpCache.java:311)
at VASSAL.tools.opcache.OpCache.get(OpCache.java:254)
at VASSAL.tools.opcache.AbstractOpImpl.get(AbstractOpImpl.java:79)
at VASSAL.tools.imageop.AbstractOpImpl.getImage(AbstractOpImpl.java:98)
at VASSAL.tools.imageop.AbstractOpImpl.getImage(AbstractOpImpl.java:78)
at VASSAL.configure.IconConfigurer.setValue(IconConfigurer.java:62)
at VASSAL.counters.MovementMarkable.mySetType(MovementMarkable.java:88)
at VASSAL.counters.MovementMarkable.(MovementMarkable.java:73)
at VASSAL.build.module.BasicCommandEncoder$20.createDecorator(BasicCommandEncoder.java:189)
at VASSAL.build.module.BasicCommandEncoder.createDecorator(BasicCommandEncoder.java:299)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:347)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:341)
at VASSAL.build.module.BasicCommandEncoder.decode(BasicCommandEncoder.java:387)

16 Jun 2011 11:36:56.490 1 java.lang.OutOfMemoryError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at VASSAL.tools.ThrowableUtils.throwMe(ThrowableUtils.java:103)
at VASSAL.tools.ThrowableUtils.throwRecent(ThrowableUtils.java:95)
at VASSAL.build.Builder.create(Builder.java:108)
at VASSAL.build.Builder.build(Builder.java:73)
at VASSAL.build.AbstractBuildable.build(AbstractBuildable.java:68)
at VASSAL.launch.BasicModule.build(BasicModule.java:142)
at VASSAL.launch.BasicModule.build(BasicModule.java:105)
at VASSAL.build.GameModule.init(GameModule.java:783)
at VASSAL.launch.Player.launch(Player.java:79)
at VASSAL.launch.Launcher$1.run(Launcher.java:160)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.OutOfMemoryError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at VASSAL.tools.ThrowableUtils.throwMe(ThrowableUtils.java:103)
at VASSAL.tools.ThrowableUtils.throwRecent(ThrowableUtils.java:95)
at VASSAL.build.Builder.create(Builder.java:108)
at VASSAL.build.Builder.build(Builder.java:73)
at VASSAL.build.AbstractBuildable.build(AbstractBuildable.java:68)
at VASSAL.build.module.Map.build(Map.java:488)
at VASSAL.build.Builder.create(Builder.java:103)
… 21 more
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Unknown Source)
at java.lang.String.(Unknown Source)
at java.lang.StringBuilder.toString(Unknown Source)
at VASSAL.counters.Embellishment.getI18nData(Embellishment.java:1269)
at VASSAL.i18n.ComponentI18nData.(ComponentI18nData.java:155)
at VASSAL.build.widget.PieceSlot.getI18nData(PieceSlot.java:433)
at VASSAL.build.AbstractConfigurable.add(AbstractConfigurable.java:140)
at VASSAL.build.module.map.SetupStack.add(SetupStack.java:348)
at VASSAL.build.Builder.build(Builder.java:76)
at VASSAL.build.AbstractBuildable.build(AbstractBuildable.java:68)
at VASSAL.build.Builder.create(Builder.java:103)
at VASSAL.build.Builder.build(Builder.java:73)
at VASSAL.build.AbstractBuildable.build(AbstractBuildable.java:68)
at VASSAL.build.module.Map.build(Map.java:488)
at VASSAL.build.Builder.create(Builder.java:103)
at VASSAL.build.Builder.build(Builder.java:73)
at VASSAL.build.AbstractBuildable.build(AbstractBuildable.java:68)
at VASSAL.launch.BasicModule.build(BasicModule.java:142)
at VASSAL.launch.BasicModule.build(BasicModule.java:105)
at VASSAL.build.GameModule.init(GameModule.java:783)
at VASSAL.launch.Player.launch(Player.java:79)
at VASSAL.launch.Launcher$1.run(Launcher.java:160)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

Thus spake kristianhansen:

yes i have restarted it here’s the error log:

16 Jun 2011 11:36:16.203 0 C:\Program Files (x86)\Java\jre6\bin\java
-Xms64M -Xmx128M -DVASSAL.id=1 -Duser.home=C:\Users\kristian.hansen -cp
lib\Vengine.jar VASSAL.launch.Player

This line shows that the heap sizes you put into Preferences are not
being used.

One possible culprit is that your Preferences file is corrupt. Try
closing VASSAL, renaming your Preferences file, and restarting VASSAL.
You’ll get a new default one that way. Are you able to load the module
if you do this?


J.

okey - where do i find that file? cant seem to find it in my vassal folder

Thus spake kristianhansen:

okey - where do i find that file? cant seem to find it in my vassal
folder

It’s in the same directory as the errorLog:

C:\Users<username>\VASSAL.


J.

should i just give it the same name?

Thus spake kristianhansen:

should i just give it the same name?

I don’t understand your question. Renaming the Preferences file to have
the same name doesn’t differ from doing nothing. The point of renaming
the Preferences file is to move it out of the way so that VASSAL can
create a new one the next time you run VASSAL.


J.

thax man - that did the trick :slight_smile: