Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Memory usage patterns
Memory usage patterns [message #74605] Sat, 14 June 2003 19:57 Go to next message
Eclipse UserFriend
Originally posted by: rowland.eecs.berkeley.edu

I'm running Eclipse 2.1 on Windows XP. Each time I switch to different
view the memory usage goes up. However, if I minimize the window that
Eclipse is running in then that memory gets released. I can then restore
the window without reverting to the original memory usage size. It is as
if memory being used for the display of a non-displayed view isn't
released until the Eclipse window is minimized. Is this correct behavior?
I can easily reclaim 100Mb with this minimize/restore "trick".
Re: Memory usage patterns [message #74745 is a reply to message #74605] Sun, 15 June 2003 09:00 Go to previous messageGo to next message
Eclipse UserFriend
I think, it is windows who reduces amount of occupied memory when user
minimizes application window. That's true not only for java application but
for any windows app. Probably you get less memory occupied after restoring
app window because windows OS releases all the caches assigned to the app
during minimize/restore process. Also JVM may run garbage collector when
window is minimized/restored and this way release unused but occupied
memory.

Actually, I do not know the reason for sure but that is what my expirience
suggests :)

On Sat, 14 Jun 2003 23:57:41 +0000 (UTC), Rowland R Johnson
<rowland@eecs.berkeley.edu> wrote:
> I'm running Eclipse 2.1 on Windows XP. Each time I switch to different
> view the memory usage goes up. However, if I minimize the window that
> Eclipse is running in then that memory gets released. I can then restore
> the window without reverting to the original memory usage size. It is as
> if memory being used for the display of a non-displayed view isn't
> released until the Eclipse window is minimized. Is this correct behavior?
> I can easily reclaim 100Mb with this minimize/restore "trick".
>
>



--
best regards,
alexander kitaev
Re: Memory usage patterns [message #74792 is a reply to message #74745] Sun, 15 June 2003 12:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: oshteynbuk.nyc.rr.com

Also VM Size in task manager stays the same

Alexander Kitaev wrote:
> I think, it is windows who reduces amount of occupied memory when user
> minimizes application window. That's true not only for java application
> but for any windows app. Probably you get less memory occupied after
> restoring app window because windows OS releases all the caches assigned
> to the app during minimize/restore process. Also JVM may run garbage
> collector when window is minimized/restored and this way release unused
> but occupied memory.
>
> Actually, I do not know the reason for sure but that is what my
> expirience suggests :)
>
> On Sat, 14 Jun 2003 23:57:41 +0000 (UTC), Rowland R Johnson
> <rowland@eecs.berkeley.edu> wrote:
>
>> I'm running Eclipse 2.1 on Windows XP. Each time I switch to different
>> view the memory usage goes up. However, if I minimize the window that
>> Eclipse is running in then that memory gets released. I can then restore
>> the window without reverting to the original memory usage size. It is as
>> if memory being used for the display of a non-displayed view isn't
>> released until the Eclipse window is minimized. Is this correct behavior?
>> I can easily reclaim 100Mb with this minimize/restore "trick".
>>
>>
>
>
>
Re: Memory usage patterns [message #76284 is a reply to message #74792] Tue, 17 June 2003 09:27 Go to previous message
Eclipse UserFriend
I think that Windows just swaps the memory out onto disk. You might find
performance a bit dire until all the memory is then retrieved into RAM
once again. I believe that garbage collection suffers badly when the VMs
heap is swapped out.

Chris
Previous Topic:undo / redo
Next Topic:bookmarks
Goto Forum:
  


Current Time: Sun Jul 27 16:25:25 EDT 2025

Powered by FUDForum. Page generated in 0.28160 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top