It could be memory but we do not have a confirmation of that yet.
The clean boot could have told us that. If you clean boot, you will use a lot less memory. If Java worked properly the problem was caused either by:
A program that was stopped by clean boot
You not having enough memory.
I did not see any test results. You came back and said that no program worked.