Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

runtime error ....

Former Member
0 Likes
528

hi all,ve developed report is uploading text file, after that there is no errors for that.

in my report there is no errors. but i got am runtime error discription like ;

when the program was running, it was established that more memory was needed then the operating system is able to provide savely. to avoid system crash, u must prevent this situation.

so how to solve this problem.

Thanks in advance.

sudharsan.

3 REPLIES 3
Read only

Former Member
0 Likes
507

It is possibly caused by the size of the file you are trying to upload, if the program tries to hold the entire file in memory (potentially alongside multiple database tables) this may be too much.

Try splitting the file into smaller files.

Regards,

Nick

Read only

Former Member
0 Likes
507

Hi,

Ask your BASIS consultant to increase the Buffer & Memory size.

Show him the error message & he will fix it.

Best regards,

Prashant

Read only

Former Member
0 Likes
507

Hi sudarshan,

Use a TRY block and catch the exception in the CATCH block. This will atleast make sure that code will not dump (runtime error). To know which exception to catch, just check the runtime error screen....it will tell you the exception. You will need to catch this exception within the TRY block.

This should solve your problem.

Regards,

Vijay

<b>PLZ reward points if helpful</b>