Comments on: Profiling Matlab memory usage https://undocumentedmatlab.com/blog_old/profiling-matlab-memory-usage Charting Matlab's unsupported hidden underbelly Wed, 20 May 2020 03:01:17 +0000 hourly 1 https://wordpress.org/?v=4.4.1 By: Assessing Java object size in Matlab | Undocumented Matlabhttps://undocumentedmatlab.com/blog_old/profiling-matlab-memory-usage#comment-312026 Wed, 29 Jan 2014 18:39:11 +0000 https://undocumentedmatlab.com/?p=2768#comment-312026 […] a couple of years ago I posted an article on profiling Matlab’s memory usage, which included a section on Java memory […]

]]>
By: Yair Altmanhttps://undocumentedmatlab.com/blog_old/profiling-matlab-memory-usage#comment-127976 Thu, 29 Nov 2012 23:44:37 +0000 https://undocumentedmatlab.com/?p=2768#comment-127976 @Ian – this was mentioned at the very top of this article:

…an undocumented feature was added to the Matlab Profiler that enables monitoring memory usage.

]]>
By: Ian Schillebeeckxhttps://undocumentedmatlab.com/blog_old/profiling-matlab-memory-usage#comment-127965 Thu, 29 Nov 2012 23:09:34 +0000 https://undocumentedmatlab.com/?p=2768#comment-127965 What about:

profiler -memory on

?

]]>
By: Undocumented Profiler options part 2 | Undocumented Matlabhttps://undocumentedmatlab.com/blog_old/profiling-matlab-memory-usage#comment-111064 Mon, 24 Sep 2012 10:11:25 +0000 https://undocumentedmatlab.com/?p=2768#comment-111064 […] Since then, I have posted several articles about performance tuning and profiling (for example, memory profiling) but nothing specifically about the Profiler. […]

]]>
By: File deletion memory leaks, performance | Undocumented Matlabhttps://undocumentedmatlab.com/blog_old/profiling-matlab-memory-usage#comment-107457 Wed, 05 Sep 2012 18:02:28 +0000 https://undocumentedmatlab.com/?p=2768#comment-107457 […] To monitor Matlab’s Java heap space size in runtime, see my article from several months ago, or use Elmar Tarajan’s memory-monitor utility from the File Exchange. […]

]]>
By: Internal Matlab memory optimizations | Undocumented Matlabhttps://undocumentedmatlab.com/blog_old/profiling-matlab-memory-usage#comment-88195 Wed, 30 May 2012 14:23:14 +0000 https://undocumentedmatlab.com/?p=2768#comment-88195 […] If we profile our code using any of Matlab’s memory-profiling options, we will see that the copy operation data2=data1 takes negligible time to run and allocates no memory […]

]]>
By: Yair Altmanhttps://undocumentedmatlab.com/blog_old/profiling-matlab-memory-usage#comment-76178 Thu, 01 Mar 2012 22:07:09 +0000 https://undocumentedmatlab.com/?p=2768#comment-76178 @Julien – I’m afraid I don’t have a specific experience with tijmp. Your problem may be due to a missing jdwp.dll library file, which is required by the Java debugger but missing from Matlab’s JRE distribution. See MathWorks technical solution 1-OVU1L. Possibly some other DLL is missing. Other reported problems with the agentlib that cause Matlab to fail to start were reported here. I briefly discuss this in section 1.6 of my book, by the way.

If you do learn anything new, please post a followup comment here, for the benefit of others.

]]>
By: julienhttps://undocumentedmatlab.com/blog_old/profiling-matlab-memory-usage#comment-76170 Thu, 01 Mar 2012 21:09:23 +0000 https://undocumentedmatlab.com/?p=2768#comment-76170 Yair,
Have you ever used jtimp to profile java memory inside matlab?
I added “-agentlib:tijmp” in the java.opts file, added the tijmp.dll directory path in librarypath.txt file but matlab does not start any more (OS is windows XP)
Thanks !

]]>