Patches sent to Rodney to fix the memory leak for both Zone definition and Grid 
adjustments.

With any luck it will make 2.8

Cheers,
Brent.


>*********** REPLY SEPARATOR ***********
>
>On 30/08/2006 at 2:56 PM Brent Easton wrote:
>Hi Guys,
>
>Ok, This is the old scaled image cache memory leak issue. (i.e. what used
>to happen
>if you keep starting/closing games without quitting vassal).
>
>Yes, you are running out of Java Heap Space.
>
>The Define Zone shape loads a scaled map image into the cache. Each time 
>you click, a new one gets added. The 'Edit Grid' button on the Hex Grid
>component has the same problem.
>
>You can see this happening by using the Processes window of the the
>Windows Task Manager 
>and show the Mem Usage or VM size columns. Once the VM size hits your -Xmx
>max heap
>space limit, boom, everything dies. 
>
>Alternate Workaround is to start a new game, or load a saved game - 
>This clears the image cache.
>
>I will look at what we need to do to fix properly.
>
>Cheers,
>Brent.
>
>>*********** REPLY SEPARATOR ***********
>>
>>On 29/08/2006 at 11:11 PM Gary Krockover wrote:
>>I get this all the time. Simply save your module and then close VASSAL and
>>relaunch and go back to edit and you can then add more zones. A PITA but
>>that's the only work-around that I know of. I'm guessing that it may be
>>some type of memory issue.
>>
>>In fact, rule of thumb - if VASSAL isn't doing what you know it should be
>>doing during an edit, save-shutdown-restart-edit. If I mess around with
>>tabs and menus, I wont see the changes a lot of times unless I shutdown
>>and restart. It's a minor annoyance but I can live with it.
>>
>>GJK
>>
>>At 09:41 PM 8/29/2006, you wrote:
>>>Hi,
>>>
>>>I'm busy building a module. I have a point-to-point map I'm making
>>>into a MultiZone grid (seemed like the thing to do.)
>>>
>>>I tell VASSAL, to Add Zone, then hit Define Shape. The box pops up
>>>with the map in it and i can drag my square where I want it. But only
>>>four times. After I add four zones, I get a blank box when I hit
>>>Define Shape. I have to restart VASSAL to do the next four.
>>>
>>>This has happened on three different computers. (All WinXP boxes)
>>>
>>>Not a big problem, just kinda odd.
>>>
>>>Any ideas?
>>>
>>>Steve
>>
>>
>>

____________________________________________________________
Brent Easton                       
Analyst/Programmer                               
University of Western Sydney                                   
Email: [EMAIL PROTECTED]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/vassalengine/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to