You need to sign in to do that
Don't have an account?

parsing big xml file gives 'System.LimitException: Too many script statements: 200001'
Parsing big xml file gives
'System.LimitException: Too many script statements: 200001'
The xml file has around 2000 data, say 2000 contacts where each contact has around 20 fields data
<?xml version="1.0" encoding="UTF-8"?>
<Manifest>
<ContactDetail>
<UID>287284447</UID>
<ExpiryDate>Jun 10 2015 12:00AM</ExpiryDate>
<DOB>Aug 28 1957 12:00AM</DOB>
20 such data fields
</ContactDetail>
...
2000 contact details
...
<ContactDetail>
...
</ContactDetail>
</Manifest>
Maybe this will help -
http://boards.developerforce.com/t5/Apex-Code-Development/too-many-script-200001/td-p/330777