App Designer uitree nodedata memory size limit?

1 visualización (últimos 30 días)
Chris
Chris el 14 de Ag. de 2020
Respondida: Vimal Rathod el 23 de Ag. de 2020
Is there a memory limit to what can be put into the nodedata field of a uitree?
My app and tree work correctly when putting data of less than 13.4 Megabyte into the nodedata field, but will fail when adding 55 Megabyte.
the error I am getting is:
java.lang.OutOfMemoryError: Java heap space
Nearly all the size of what is being put into nodedata is an array of numbers.
Are there any workarounds? The best (and only) option I can think of is to keep the mass of data in normal structure named identically to the uitree; have the user interact with the uitree but work with the data from a structure.

Respuestas (1)

Vimal Rathod
Vimal Rathod el 23 de Ag. de 2020
Hi,
In this type of workflow where there is a lot of data associated with the tree nodes, I would recommend a strategy where the NodeData contains some minimum identifier that is used to retrieve data from a central place.
That should allow for a better memory footprint for the app and a more consistent experience with uitree across releases.

Categorías

Más información sobre Logical en Help Center y File Exchange.

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by