“Internal Error” message: OutOfMemoryError: Java heap space

I have created the interactive broker flex query as shown in one of the instructional videos on YouTube.

The report is for 2024.

When I try to import the file using PP’s functionality specifically designed for Interactive Brokers, I get the following message:

Can someone tell me what I need to do differently please?

Right… so same problem as me but in German. Anyone have a solution?

There is a solution in a box. Maybe just translate it with deepl.con

Edit PortfolioPerformance.ini, increase available memory as shown in the other thread (e.g. -Xmx2g).

can someone show me how to do this? sorry i’m not an IT expert…

This is how to do it:

o edit the PortfolioPerformance.ini file and increase the available memory, follow these steps:

  1. Locate the PortfolioPerformance.ini file. It should be in the installation directory of Portfolio Performance.
  2. Open the file using a text editor like Notepad or Notepad++.
  3. Look for a line that starts with “-Xmx” or add a new line if it doesn’t exist.
  4. Set the memory value to 2g (2 gigabytes) or your desired amount by adding or modifying the line to read:

text

-Xmx2g
  1. Save the file and close the text editor.
  2. Restart Portfolio Performance for the changes to take effect.
2 Likes