[messages] [Developers] Re: determining how much heap a BufferedImage uses

Timothy Mccarron timothy.mccarron at sbcglobal.net
Wed Nov 10 12:23:31 MST 2010

looks like forum ate your post btw, only showed up in email

From: Joel Uckelman <uckelman at nomic.net>
To: messages at vassalengine.org
Sent: Wed, November 10, 2010 11:42:24 AM
Subject: Re: [messages] [Developers] Re: determining how much heap a 
BufferedImage uses

Thus spake pgeerkens:
> I believe it is the heap manager causing the problem, not the buffered
> image itself. I get the following output 
> 640
> 240
> 16
> from the code below with min/max heap set to 961MB, totalling 896MB of
> the 961MB available. When I bump the size factor in img3 to 0.2 I run
> out of heap.

I'm having trouble interpreting your results here. Your program is
not the same as mine---the first image can't be garbage collected
yet when you load the second image, and that will affect how much
heap is still available.

What are the minimum heap sizes you can run at when you use the
same program and parameters as I used?

messages mailing list
messages at vassalengine.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vassalengine.org/pipermail/messages/attachments/20101110/c36f4461/attachment.html>

More information about the messages mailing list