Loss of custom settings after moving a folder

Hello Friends. I am sorry I can only speak english. I need help with something. I was keeping the files „portfolio.xml“ and „portfolio.backup.xml“ and „portfolio.backup-after-open.xml“ in a folder on my computer. But I moved the folder. Now when I go into the software and open the „portfolio.xml“ file it opens okay, but all my customisations are gone. Does anyone know how to fix this?

Thankyou
Ahron

In the settings of PP there is an option to store the GUI settings next to the actual portfolio file. I assume this settings file will contain the information you’re missing.

First option:
Move the file back to the original location.
Then - inside PP - choose „Save As…“ to store it in the new location.

Second option:
Move it back to the original location.
In the „settings“ choose „store settings next to file“
Move both files to the new solution

Third option:
The workspace directory contains a cryptic file name with the configuration. The name is hashed out of the location of the file. If you cannot move the file back to the old location, let me know if you want to identify this route.

Maybe one word why this is the way it is: the idea is that all local settings are just stored locally. It should only include things that do not make sense when moving to a new computer. For example, the width of some UI elements, the width of columns in pixel, etc. Unfortunately, not all information is cleanly separated.

Maybe I should make the „store settings next to portfolio file“ the default option.

1 Like

That fixed my problem. Thankyou!

Hello @AndreasB ,

Could I have 3 portfolios (3 different files) that share the same settings?

I reached the heap limit and had to split the portfolio file in 3…

No.

You should simply have raised the limit instead.

1 Like

I did try to increase the power and it is still not working…

"-vm
plugins/name.abuchen.zulu.jre.win32.x86_64_17.0.5/jre/bin
-startup
plugins/org.eclipse.equinox.launcher_1.6.600.v20231106-1826.jar
–launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.2.800.v20231003-1442
-vmargs
-XX:+IgnoreUnrecognizedVMOptions
-Dosgi.requiredJavaVersion=17
–add-modules=ALL-SYSTEM
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Xms20g
-Xmx30g"

Not sure if g really is valid for gigabyte. Please give it a try with m. Here is a German thread (use deepl.com to translate) with explanations. Also what should be the max value, depending from your physical setup.

Second point: Why did you add the " at the end? I think that is wrong!

Dear friends,

The current .ini file holds the following content:

-vm
plugins/name.abuchen.zulu.jre.win32.x86_64_17.0.5/jre/bin
-startup
plugins/org.eclipse.equinox.launcher_1.6.600.v20231106-1826.jar
–launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.2.800.v20231003-1442
-vmargs
-XX:+IgnoreUnrecognizedVMOptions
-Dosgi.requiredJavaVersion=17
–add-modules=ALL-SYSTEM
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Xms8192m
-Xmx24576m
-Xss1024k

The file I am trying to start, which holds 0 transactions and about 6k stocks 133mb is not able to run.

My system settings:
|Processor|Intel(R) Core™ i7-7700HQ CPU @ 2.80GHz 2.80 GHz
|Installed RAM|32.0 GB (31.9 GB usable)
|System type|64-bit operating system, x64-based processor

The file just won’t open.

This is the error I am getting:

Please help

My goal is to monitor price changes on my investable universe.

I can send you the file if you need to.

@chirlu @jo92 @AndreasB

It appears that the file is damaged (unrelated to the memory settings). Use a backup version.

2 Likes

Indeed, the backup after open file did open successfully.

I worked on the file a bit and went back to point A:

Where I am not able to save the file. I had to close the program without saving and then I am back to the issue described before

Thanks a billion for this help