Author Topic: CleanMem - Java Issues  (Read 6088 times)

0 Members and 1 Guest are viewing this topic.

Offline dousty45

  • PcWinTech Jr. Member
  • Join Date: Feb 2013
  • Posts: 1
  • Karma: 0
CleanMem - Java Issues
« on: February 19, 2013, 08:02:03 AM »
I am a script writer and staff member of powerbot.org. We have a Java client that is used to bot Runescape.

I often suggest this program to users that are experiencing high memory usage but most have been noticing random crashing.
I did some testing and found out that CleanMem was deleting Java's mini-dumps.

Could this issue be resolved?

PcWinTech.com Forums

CleanMem - Java Issues
« on: February 19, 2013, 08:02:03 AM »

Offline Willy2

  • PcWinTech Full Member
  • **
  • Join Date: Jul 2010
  • Posts: 280
  • Karma: 7
Re: CleanMem - Java Issues
« Reply #1 on: February 19, 2013, 12:03:44 PM »
- Does this occur while cleaning/collapsing the file cache or during cleaning one or more processes and which process(es) ? E.g. "Javaw.exe" ?
If the mini dump(s) disappear(s) while cleaning the file cache then this would suggest that that info isn't properly loaded into the main user memory or properly written to the harddisk.

- Cleanmem uses an official Windows API. That would suggest that Windows isn't aware these dumps exist in the memory and isn't aware where these dumps are "hanging out".

I have three Java applications installed (one of them is a heavy memory user) and they never have crashed when CM is cleaning the memory. So, I didn't have any negative experience with Java.

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: CleanMem - Java Issues
« Reply #2 on: February 19, 2013, 01:26:42 PM »
Cleanmem doesn't delete any memory dumps, it just call Windows to use the emptyworkingset api. Which just moves the memory to the standby, which is still in memory. What ever the program needs it takes back instantly. Any memory not reclaimed after a short period and Windows frees that memory :wink:

This is no different than when Windows does this when memory gets maxed out. That is normally the only time Windows does it on its own. CleanMem is a trigger for it instead. I use cleanmem on every system I have and use java on all of them and never had any program crashes with java. So I am not sure why yours is crashing.

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline Willy2

  • PcWinTech Full Member
  • **
  • Join Date: Jul 2010
  • Posts: 280
  • Karma: 7
Re: CleanMem - Java Issues
« Reply #3 on: February 19, 2013, 03:10:21 PM »
Perhaps the Java script does something "illegal" ?

PcWinTech.com Forums

Re: CleanMem - Java Issues
« Reply #3 on: February 19, 2013, 03:10:21 PM »

 

email