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

Regex too complicated
hi,
i import data though csv file but when data is more than 1000 then it gives me Error
System.LimitException: Regex too complicated
Can anybody give me Explanation ?
You need to sign in to do that
Don't have an account?
hi,
i import data though csv file but when data is more than 1000 then it gives me Error
System.LimitException: Regex too complicated
Can anybody give me Explanation ?
Hi,
This message comes due to size of the files. It looks like Email Services provides an entry point that allows developers to push in data sizes that far exceed the heap limits. The regex seems to be failing because of the heap supporting the regex. The only alternative is to cut the file sizes down or choose another integration approach.
For more detail follow the below link:
http://boards.developerforce.com/t5/Apex-Code-Development/Regex-too-complicated-error-for-large-volume-of-data-and-a/td-p/178769
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
All Answers
Hi,
This message comes due to size of the files. It looks like Email Services provides an entry point that allows developers to push in data sizes that far exceed the heap limits. The regex seems to be failing because of the heap supporting the regex. The only alternative is to cut the file sizes down or choose another integration approach.
For more detail follow the below link:
http://boards.developerforce.com/t5/Apex-Code-Development/Regex-too-complicated-error-for-large-volume-of-data-and-a/td-p/178769
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
Thanks
For your Reply
I took the FinancialForce code, which is a really good solution, and gave it a once over. Apex Row Iteration Class post.