Rank: 2033 based on 61 downloads (last 30 days) and 1 file submitted
photo

Davide Tabarelli

E-mail
Company/University
University of Trento

Personal Profile:

 

Watch this Author's files

 

Files Posted by Davide Tabarelli
Updated   File Tags Downloads
(last 30 days)
Comments Rating
23 Apr 2013 Java Heap Cleaner Simple function cleaning up, at runtime, Java heap memory, thus preventing java OutOfMemory error Author: Davide Tabarelli java, heap space, memory leak, outofmemoryerror, psychtoolbox 61 21
  • 5.0
5.0 | 7 ratings
Comments and Ratings by Davide Tabarelli View all
Updated File Comments Rating
09 Oct 2014 Java Heap Cleaner Simple function cleaning up, at runtime, Java heap memory, thus preventing java OutOfMemory error Author: Davide Tabarelli

@Robert: to monitor Heap Memory consumption of the Java virtual machine you can use the graphical tool "jvisualvm.exe" that is included in the Java SDK release.

By the way, jheapcl just clean the Heap space, therefore it has no effect if you call it only once, you have to use it when the used heap memory approach the upper limit; this depends on your code and on your matlab settings.

Have a nice day.

30 Sep 2013 Java Heap Cleaner Simple function cleaning up, at runtime, Java heap memory, thus preventing java OutOfMemory error Author: Davide Tabarelli

@ Robert: did you try to monitor your heap memory? Maybe you don't call jheapcl enough often or maybe there is another memory sink somewhere ...

13 Sep 2013 Java Heap Cleaner Simple function cleaning up, at runtime, Java heap memory, thus preventing java OutOfMemory error Author: Davide Tabarelli

Hello, a short comment to to clarify how to set up the java classpath for jheapcl to work: the "javaaddpath" solution is session scoped; if you want the path to be updated across all sessions follow step 3 of instructions and add [PATH_OF_YOUR_CHOICE]\MatlabGarbageCollector.jar to your static MATLAB classpath.txt file (in MATLAB_ROOT/toolboxes/local/classpath.txt) "

16 May 2013 Java Heap Cleaner Simple function cleaning up, at runtime, Java heap memory, thus preventing java OutOfMemory error Author: Davide Tabarelli

Hi pratibha rane, wha is giving you "access denied" can you give me more details?

D.

26 Sep 2012 Java Heap Cleaner Simple function cleaning up, at runtime, Java heap memory, thus preventing java OutOfMemory error Author: Davide Tabarelli

Niko, Jorge

did you add the PATH in which you extract the archive to the Matklab Java claspath? See point 3) of the instructions.

D.

Comments and Ratings on Davide Tabarelli's Files View all
Updated File Comment by Comments Rating
09 Oct 2014 Java Heap Cleaner Simple function cleaning up, at runtime, Java heap memory, thus preventing java OutOfMemory error Author: Davide Tabarelli Davide Tabarelli

@Robert: to monitor Heap Memory consumption of the Java virtual machine you can use the graphical tool "jvisualvm.exe" that is included in the Java SDK release.

By the way, jheapcl just clean the Heap space, therefore it has no effect if you call it only once, you have to use it when the used heap memory approach the upper limit; this depends on your code and on your matlab settings.

Have a nice day.

03 Oct 2014 Java Heap Cleaner Simple function cleaning up, at runtime, Java heap memory, thus preventing java OutOfMemory error Author: Davide Tabarelli Robert

@Davide: How would I monitor the heap memory? Is there a way to see it in Activity Monitor? I've set it to the maximum (256 MB) in the MATLAB Preferences but am still running into the Java Heap Memory errors when I'm repeatedly executing long code that generates lots of images (the problem does not occur in the first run but only after 3-4 runs). jheapcl is not preventing the error from happening, even if I execute it in the preamble.

26 Jul 2014 Java Heap Cleaner Simple function cleaning up, at runtime, Java heap memory, thus preventing java OutOfMemory error Author: Davide Tabarelli Jordan

Works. Had to restart MATLAB. I can't get silent mode to work tho :(

21 Feb 2014 Java Heap Cleaner Simple function cleaning up, at runtime, Java heap memory, thus preventing java OutOfMemory error Author: Davide Tabarelli Peter

Brilliant, seems to work on 2013a. Even works after it has started displaying error messages.

10 Jan 2014 Java Heap Cleaner Simple function cleaning up, at runtime, Java heap memory, thus preventing java OutOfMemory error Author: Davide Tabarelli lin

it is still got error when plot several times. And i got not idea if i just type in the jheapcl to call the function?

Contact us