cancel
Showing results for 
Search instead for 
Did you mean: 

What is the maximum size i can use as for File

former_member192181
Participant
0 Kudos

Hi,

Its a File to JDBC Scenario having Java Module to convert the csv file to xml structure.

I have uploaded a file of 29MB.

It is throwing error as Insufficient heap space.

I assume that error  is coming from Java Module.

Could you please help me out.

Thanks,

Lalitha

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

29 MB should be fine .Are you using ICO for this interface or classical configuration ?

Check whether you are using any complex logic or loops in mapping for that particular payload.

Regards

Venkat

Former Member
0 Kudos

Hi,

Following thread might be helpful to you...

http://scn.sap.com/thread/1637092

http://scn.sap.com/thread/1284704

BR,

Anirban

Former Member
0 Kudos

Hi Lalitha,

There is no specific limit per say. But to stop the system from taking strain it is recommended to keep it at about 10MB, but we have successfully processed 88MB files.

Please ask your basis team to increase your java heap size on your SAP PI system. This should solve your heap space issue.

Regards,

Jannus Botha

former_member192181
Participant
0 Kudos

Hi  Jannus,

Thanks for your reply. right now the heap space is maintained 2048MB, which is 2GB.

With these heap space , it is throwing Insufficient heap space.

So Is this had to increased more?

If yes, Please let me how much it has to be increase??

Thanks,

Lalitha

Former Member
0 Kudos

Hi Lalitha,

After setting the heap space did they restart the PI system?

Please have a look at the 2 notes below.

1295744 - JVM Perm Size Memory Usage

994433 - J2EE Engine terminates with OutOfMemoryError

Please also ask the basis team to make sure there is enough memory availible when the message is being processed.

Aslo monitor the system when the file is being picked up. If the idle then ask them to up the 2GB to 6GB.

Regards,

Jannus Botha

former_member192181
Participant
0 Kudos

Hi Jannus,

How much of RAM should be maintained for 6GB of HeapSpace.

Thanks,

Lalitha

Former Member
0 Kudos

Hi Lalitha,

Ask basis to check if they would be able to allocate 6114MB of ram to the java heap space.

If they are able please ask them to go ahead and allocate that amount of ram and restart the java instance.

Regards,

Jannus Botha

former_member192181
Participant
0 Kudos

RAM is of 8GB and heap space we changed to 6 gb. Still it is not working.

Thanks,

Lalitha.

Former Member
0 Kudos

Hi Lalitha,

Can you please go into NWA on the java stack and go to logs overview and send me the details error report that is generated in the overview?

Regards,

Jannus Botha

Former Member
0 Kudos

Hi Lalitha,

After you send me that also please have a look at the link below. This might be a better solution.