App Designer uitree nodedata memory size limit?
2 ビュー (過去 30 日間)
古いコメントを表示
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.
0 件のコメント
回答 (1 件)
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.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Categorical Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!