필터 지우기
필터 지우기

App Designer uitree nodedata memory size limit?

조회 수: 3 (최근 30일)
Chris
Chris 2020년 8월 14일
답변: Vimal Rathod 2020년 8월 23일
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.

답변 (1개)

Vimal Rathod
Vimal Rathod 2020년 8월 23일
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.

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by