Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Windows Support (https://www.gnutellaforums.com/general-windows-support/)
-   -   limit limewire memory usage (https://www.gnutellaforums.com/general-windows-support/67635-limit-limewire-memory-usage.html)

sol February 28th, 2007 10:27 AM

limit limewire memory usage
 
On my machine, Windows XP SP2, 512megs RAM, Limewire acts as if it's using up tons of RAM, even if I just switch focus between Limewire and Windows Explorer or the browser it takes ages, with sounds coming from the hard drive that would indicate lots of pagefile usage.

According to task manager, it uses just under 100megs, which wouldn't quite explain all that swapping.

If limewire were run as a Java command (from a .jar file), I'd limit its memory usage with the -Xmxn option, but limewire is run from the limewire executable.

Is it possible to pass a max memory option (param) to limewire.exe ?

ukbobboy01 February 28th, 2007 10:35 AM

That may be a good suggestion to put forward to the developers, i.e. a facility (button) that switches between LW Lite and LW Full.


UK Bob

sol February 28th, 2007 04:46 PM

Bob,

I suspect that's probably already implemented, more a question if it's documented. The limewire.exe does take arguments, for example the shortcut "LimeWire On Startup" starts limewire.exe with a "-startup" argument.

Also, the executable is just 120kb, indicating that it's just a fancy startup script, which makes me think it should be possible to start limewire using the java command with arguments, so I think this is more about *how* to start limewire with reduced memory than to request that 'feature', as it's a 'feature' that's already built into Java.

sol March 1st, 2007 10:57 AM

solved, i think
 
i just went ahead and tried to start the limewire.jar in the usual java way.
seems to work. this means you can pass arguments to limit max mem.
for example:
java -jar limewire.jar -Xmx80m
limits max heap to 80 meg.
consequently, limewire shows up in task manager as java.exe.

ukbobboy01 March 1st, 2007 12:57 PM

Sol

If your idea could be incorporated into some sort of icon or button for the rest of us then so much the better because it is unlikely that the rest of us will want to write java aguments, no matter how simple.


UK Bob


All times are GMT -7. The time now is 07:41 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.