You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

DB API Error: Optimising the memory utilisation of Custom script

Accepted answer
21
Views
5
Comments
edited May 1, 2017 5:43PM in Integrations and APIs 5 comments

Content

 

Hi Fellaws,

I had developed a custom script to import massive data records(about 7K) from several other systems.The problem here is "optimisation". I get the following error:

"Unable to allocate sufficient storage for queryPointer!"

Has anybody faced this before and I have script to read to CSV and create an Incident, Contact and a Custom obj named "Vehicle". Not sure where I am going wrong. I am only querying RN DB for existing Contact ID and Vehicle ID. I have used RNCPHP\RNObject::SuppressAll in all my saves and using RNCPHP\commit() for every 500 records. Not sure where I could optmize.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!