question

Steven Chen avatar image
0 Likes"
Steven Chen asked Matthew Gillespie commented

Bonsai Managed Simulator Upload Size Limitation

Hello,

Somehow Bonsai decides to set maximum upload file size 150MB. So the exported FlexSim package can't upload to Bonsai (over 260MB).

01.jpg

FlexSim 23.0.0
bonsai
01.jpg (62.4 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered Matthew Gillespie commented

When using Bonsai, I recommend making the model file as small as possible. Then the total size of the package will be smaller. The easiest thing to check is whether the model is embedding media. Bonsai doesn't train with a view, so media is generally unneeded. That usually resolves any file size issues.

You can also use the memory profiler to see if the model is including data that is unneeded when training in Bonsai.

· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Steven Chen avatar image Steven Chen commented ·

The model itself is only 40KB. I guess the zip too huge because RTX dlls are also exported, that could be deleted?

02.jpg


Other dlls take about 50MB which should be necessary files.

01.jpg


0 Likes 0 ·
02.jpg (25.6 KiB)
01.jpg (145.8 KiB)
Jordan Johnson avatar image Jordan Johnson ♦♦ Steven Chen commented ·

If the nv folder is included, then that is a bug. I don't think any of those files are necessary. I will add this bug to the dev list.

In the meantime, you can install this module on the user's computer. It adds the "nv" node to the list of things to exclude from the zip file:

ExcludeNV.zip

The node it adds should be added inside the MAIN:/project/exec/globals/exportExcludes/program node.

0 Likes 0 ·
excludenv.zip (817 B)
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Steven Chen commented ·
@Steven Chen This bug has been fixed for 23.0.2 which will be released later this week.
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.