Greetings !!
While importing my pvcs vm database of 51 MB size, I am getting the following exception in svnimporter.log:
05:47:34,813 [main] DEBUG PvcsProvider:80 - get all contents for C:\TEMP\local\pvcs.tempdir\pvcs.tempdir
05:50:33,580 [main] ERROR Main:96 - EXCEPTION CAUGHT: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
at java.lang.AbstractStringBuilder.append(Unknown Source)
at java.lang.StringBuilder.append(Unknown Source)
at org.polarion.svnimporter.pvcsprovider.PvcsProvider.getAllContents(PvcsProvider.java:303)
at org.polarion.svnimporter.pvcsprovider.PvcsProvider.buildSvnModel(PvcsProvider.java:180)
at org.polarion.svnimporter.main.Main.buildFullSvnModel(Main.java:158)
at org.polarion.svnimporter.main.Main.run(Main.java:88)
at org.polarion.svnimporter.main.Main.main(Main.java:51)
05:50:33,580 [main] DEBUG PvcsProvider:80 - cleanup
05:50:34,799 [main] DEBUG SvnAdmin:80 - cleanup
05:50:34,799 [main] INFO historyLogger:84 - duration: 3321 seconds
An empty repository with no data is created.
Please let me know how to avoid this error.
Also since I am a newbie to svnimporter tool, please let me know if we can migrate archived files of PVCS VM to SVN Edge.
Thanks in advance.
PVCS VM to SVN import - java.lang.OutOfMemoryError
-
- Posts: 472
- Joined: Tue Oct 24, 2006 10:27 am
- Location: Polarion Software GmbH, Stuttgart
- Contact:
Re: PVCS VM to SVN import - java.lang.OutOfMemoryError
Hello,
if you're running the importer via run.bat, please edit the file in the line:
set JAVA_OPTS=-Xmx192m
set more memory to the Java, e.g.
set JAVA_OPTS=-Xmx1500m
if your computer has 2+ GB RAM.
You can play with the number, as 51MB is not so big database, so smaller number should work too.
Best regards,
Nick
if you're running the importer via run.bat, please edit the file in the line:
set JAVA_OPTS=-Xmx192m
set more memory to the Java, e.g.
set JAVA_OPTS=-Xmx1500m
if your computer has 2+ GB RAM.
You can play with the number, as 51MB is not so big database, so smaller number should work too.
Best regards,
Nick
-
- Posts: 472
- Joined: Tue Oct 24, 2006 10:27 am
- Location: Polarion Software GmbH, Stuttgart
- Contact:
Re: PVCS VM to SVN import - java.lang.OutOfMemoryError
BTW, this topic is posted in wrong forum - it belongs to SVN Importer, not SVN Web Client
-
- Posts: 3
- Joined: Wed Aug 21, 2019 3:22 am
- Location: Syria
- Contact:
PVCS VM to SVN import java lang OutOfMemoryError
Not sure I understand: do you have Java 7 installed or not?
Best,
Clement
PS: make also sure you do Help -> Check for updates in the Gephi menu, then a restart.
Best,
Clement
PS: make also sure you do Help -> Check for updates in the Gephi menu, then a restart.
Return to “Polarion SVN Web Client”
Who is online
Users browsing this forum: No registered users and 2 guests