6.0.5 - Importing 1000's of nodes, OutOfMemoryException
Hi all
I'm trying to import around 12,500 nodes into v6.0.5 using the new ContentService API. Unfortunately the memory usage seems to ramp up quite a bit and at around 3000 nodes I get an OOM exception.
I'm importing using my own code and I've eliminated any memory leaks outside of the core Umbraco calls, is there anyway I can prevent it running out of memory?
6.0.5 - Importing 1000's of nodes, OutOfMemoryException
Hi all
I'm trying to import around 12,500 nodes into v6.0.5 using the new ContentService API. Unfortunately the memory usage seems to ramp up quite a bit and at around 3000 nodes I get an OOM exception.
I'm importing using my own code and I've eliminated any memory leaks outside of the core Umbraco calls, is there anyway I can prevent it running out of memory?
Thanks
Kev
Just to add to this, it also happens when I try to publish several thousand nodes, memory gets to about 850MB and then throws an OOM exception.
Which rules out my code that is doing the import.
Thanks
Are you running all in one transaction? Might be worth to split up?
Yes it is in one transaction, I was wondering if there's some in-memory cache I could be clearing?
I've just discovered:
I will see if this improves the situation.
Thanks
is working on a reply...