Timeline for Sequentially importing .obj files becomes drastically slow very quickly
Current License: CC BY-SA 3.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 7, 2018 at 19:39 | vote | accept | Amir | ||
Mar 6, 2018 at 3:04 | comment | added | sambler |
Running your script to import 48 objects of 126k verts (4 uniques obj files) using both blender GUI and as a module, I see stable times and memory usage. One thing to try is starting a clean instance for each import. subprocess.call(['python3','myscript.py','obj1.obj']) - using sys.argv to get the filename - instead of repeated import and delete all in one instance.
|
|
Mar 5, 2018 at 16:04 | answer | added | Amir | timeline score: -1 | |
Mar 5, 2018 at 10:31 | history | tweeted | twitter.com/StackBlender/status/970607783602196482 | ||
Mar 5, 2018 at 7:57 | comment | added | Amir |
The server has 256 GBs of memory and I'm sure it won't run out of memory that quickly. Running top shows that there is a lot of memory available all the time. What do you mean by having a custome startup.blend file?
|
|
Mar 5, 2018 at 7:29 | comment | added | J. Bakker |
Have you tried to run linux top during running of your script. Could be that your server is limited on memory and alloc/dealloc will then be slow? Also is the overall performance slower, or just a specific part (you can always run your script with profiling enabled to collect more statistics. You can also test with having a custom startup.blend and use the reload startup file operator.
|
|
Mar 5, 2018 at 4:11 | history | edited | Amir | CC BY-SA 3.0 |
edited body
|
Mar 4, 2018 at 22:04 | history | edited | Amir | CC BY-SA 3.0 |
edited title
|
Mar 4, 2018 at 21:36 | answer | added | dr. Sybren | timeline score: 3 | |
Mar 4, 2018 at 21:26 | history | edited | Amir | CC BY-SA 3.0 |
deleted 32 characters in body
|
Mar 4, 2018 at 21:00 | history | edited | Amir | CC BY-SA 3.0 |
edited title
|
Mar 4, 2018 at 20:52 | history | edited | Amir | CC BY-SA 3.0 |
added 165 characters in body; edited title
|
Mar 4, 2018 at 20:23 | history | edited | Amir | CC BY-SA 3.0 |
edited title
|
Mar 4, 2018 at 19:59 | history | asked | Amir | CC BY-SA 3.0 |