How to see the weight of the MATLAB Live workspace data

21 views (last 30 days)
Hi there!
I have a large MATLAB Live field in which I save many workspace data.
I would like to as if there is a comand for to obtain the weight of the total workspace data.
The reason is because after I run this MATLAB Live script, the comand operation runs slowly, and, I think it is important to know, sometimes when the workspace is very full as in this situation, when I modify the script sometimes it can't be saved, and the few last changes also did not save.
Thank you very much!
  2 Comments
Josep Llobet
Josep Llobet on 6 Sep 2021
I've just seen that in the workspace you can obtain the Bytes of all their variables.
Josep Llobet
Josep Llobet on 6 Sep 2021
The error I commented was about the "Exception in thread "Connector JniMessageServiceBridge": java.lang.OutOfMemoryError: Java heap space" error.
In this MATLAB answers post is give an answer about, where you can change "how much memory is available for Java objects".
You can set step by step like this:File->Preferences->General->Java Heap Memory
I put it in 2.600

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!