Rank: 2002 based on 55 downloads (last 30 days) and 1 file submitted
photo

Davide Tabarelli

E-mail
Company/University
University of Trento

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Davide
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 55 19
  • 5.0
5.0 | 7 ratings
Comments and Ratings by Davide View all
Updated File Comments Rating
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's Files View all
Updated File Comment by Comments Rating
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?

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

thank you so much for this! saving me heaps of time..

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

Thanks so much!

I also had problems with Java memory after running my psychtoolbox script a couple of times. Now I simply run 'jheapcl' at the end of each script and there is no problem anymore.

Contact us