Hi everyone,
I've been doing a script for Noesis and I'm getting this problem: Hit MAX_CONCURRENT_RPGEO_CONTEXTS!
I think it's caused by the number of models that I'm loading, because for isolated models it's working pretty well and when I load a small number of models together it works.
Is there a better way to load multiple models? What I want to do is open multiple models and positionate them.
At the moment I'm using this to open multiple models (but getting error): rapi.rpgCreateContext()
I tried to make a vector (ctx = rapi.rpgCreateContext()), but there is no differences, I still get the same error.
Thanks in advance.
The Forum is up for sale: XeNTaX Forum looking for new owner
Noesis help? Hit max_concurrent_rpgeo_contexts
- zheneq
- advanced
- Posts: 43
- Joined: Fri Jul 17, 2015 6:09 am
- Location: Moscow, Russia
- Has thanked: 7 times
- Been thanked: 30 times
Re: Noesis help? Hit max_concurrent_rpgeo_contexts
Just put ctx = rapi.rpgCreateContext() in the beginning of your script and never call it again.
And keep the reference to it till the end so that garbage collector does not delete it.
And keep the reference to it till the end so that garbage collector does not delete it.
My plugins for Noesis: https://github.com/Zheneq/Noesis-Plugins
- DGIorio
- beginner
- Posts: 25
- Joined: Sun Jan 10, 2016 11:12 pm
- Has thanked: 4 times
- Been thanked: 18 times
Re: Noesis help? Hit max_concurrent_rpgeo_contexts
I'm thankful for your help, it works. Now I can load the models together, I'm just getting error with files with a large amount of models to be loaded, probably because Noesis has a 4GB ram limit.zheneq wrote:Just put ctx = rapi.rpgCreateContext() in the beginning of your script and never call it again.
And keep the reference to it till the end so that garbage collector does not delete it.
I don't know if it can be solved, but thank you!
