This is a test to verify that native allocation successfully runs
finalizers and prevents OOM.