Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exceptions generated when converting world on three different OS's #29

Open
betamaxdroid opened this issue Aug 22, 2017 · 5 comments
Open

Comments

@betamaxdroid
Copy link

Hello,

I've been trying to convert a world, however I get exceptions each time. In Windows 7x64 with Javax64:

Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
at org.iq80.leveldb.util.Slice.(Slice.java:53)
at org.iq80.leveldb.util.Slices.allocate(Slices.java:89)
at org.iq80.leveldb.util.Slices.copiedBuffer(Slices.java:110)
at org.iq80.leveldb.table.MMapTable.readBlock(MMapTable.java:122)
at org.iq80.leveldb.table.Table.openBlock(Table.java:79)
at org.iq80.leveldb.util.TableIterator.getNextBlock(TableIterator.java:102)
at org.iq80.leveldb.util.TableIterator.getNextElement(TableIterator.java:79)
at org.iq80.leveldb.util.AbstractSeekingIterator.hasNext(AbstractSeekingIterator.java:48)
at org.iq80.leveldb.util.InternalTableIterator.getNextElement(InternalTableIterator.java:51)
at org.iq80.leveldb.util.AbstractSeekingIterator.hasNext(AbstractSeekingIterator.java:48)
at org.iq80.leveldb.util.LevelIterator.getNextElement(LevelIterator.java:109)
at org.iq80.leveldb.util.AbstractSeekingIterator.hasNext(AbstractSeekingIterator.java:48)
at org.iq80.leveldb.util.DbIterator$ComparableIterator.next(DbIterator.java:253)
at org.iq80.leveldb.util.DbIterator.getNextElement(DbIterator.java:122)
at org.iq80.leveldb.util.AbstractSeekingIterator.hasNext(AbstractSeekingIterator.java:48)
at org.iq80.leveldb.impl.SnapshotSeekingIterator.findNextUserEntry(SnapshotSeekingIterator.java:80)
at org.iq80.leveldb.impl.SnapshotSeekingIterator.getNextElement(SnapshotSeekingIterator.java:72)
at org.iq80.leveldb.util.AbstractSeekingIterator.hasNext(AbstractSeekingIterator.java:48)
at org.iq80.leveldb.impl.SeekingIteratorAdapter.hasNext(SeekingIteratorAdapter.java:54)
at com.ljyloo.PE2PC.PE2PC.convert(PE2PC.java:85)
at com.ljyloo.PE2PC.PE2PC.main(PE2PC.java:34)


In OS X and Linux:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 7
at com.ljyloo.PE2PC.PE2PC.convert(PE2PC.java:88)
at com.ljyloo.PE2PC.PE2PC.main(PE2PC.java:34)

I downloaded the zip package today, Aug 22, 2017.

@haeter525
Copy link
Collaborator

For the latter exception, I am working on it. May I ask how many memory did you give JVM and how big the world file was?

@ljyloo
Copy link
Owner

ljyloo commented Aug 28, 2017

@misssalad612 Your code contains a loop inside a loop, which i think is unnecessary

@haeter525
Copy link
Collaborator

@ljyloo hmm... you are right. The code should be more direct.

@ljyloo
Copy link
Owner

ljyloo commented Sep 2, 2017

@misssalad612 thanks you for helping me update the project i am busy at my work:)

@Murphy2002
Copy link

I have the same issue could someone help me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants