<div dir="auto"><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div>Is it ok to increase the memory limit to say 1 GB?</div><div>any other tip or hint?</div></div></blockquote></div><div dir="auto"><br></div><div dir="auto">Bad idea. If you have to check/update the best is batch it at 5k and parallel create/update.</div><div dir="auto"><br></div><div dir="auto">In a project I had to read from a source, then create JSON files containg array of 5k objects and then call a script which accepted Entity and JSON file, and just decide and call the API. Of course it's not perfect as it takes a lot of time to finish (arround 20/30 Min for 22k records).</div><div class="gmail_quote" dir="auto"></div><div dir="auto"><br></div><div dir="auto"><br></div><div class="gmail_quote" dir="auto"></div></div>