Skip to content

java.lang.OutOfMemoryError: Java heap space #1

@matheusgomes062

Description

@matheusgomes062

When trying the following case:
int[][] initial = { {7, 2, 4}, {5, 0, 6}, {8, 3, 1} };

we get a lot of lag and this error:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at Node.(Node.java:17)
at Puzzle.solve(Puzzle.java:87)
at Puzzle.main(Puzzle.java:104)

Process finished with exit code 1

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