Skip to content

java OutOfMemoryError: heap space #10

@yuliagrishina

Description

@yuliagrishina

Hi Greg,
I keep getting java OutOfMemoryError when I try to train a new model. I already switched to COREF_TRAIN_PREDICT mode as you suggest in the readme file, but the error is still there. Increasing the heap size does not help. Any suggestions how to fix that would be very much appreciated!
Thanks!
Yulia

UPD: I found the solution. it happened because my conll file was somehow missing document borders and was read in as a single document. adding document borders ("#begin document..") solved the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions