ext2 leaks lots of RAM

Project:JNode FS
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Split-out of bug 2852.

When using ext2 with 1 GB RAM and running the test suite, I consistently get OOM. With FAT, it works consistently. Even with only 512 MB and FAT, it works some of the time.

There must be some serious abuse of RAM in the ext2 implementation, or lots of leaks.

Also, the files written on disk are empty and mostly missing, but that's probably yet another bug.