loadFont - OutOfMemoryError?
in
Integration and Hardware
•
2 years ago
Hi everyone,
I'm using PDE 1.5, and I'm running into something perplexing when I export my applet. The applet runs fine locally, but once I put it on the server, I get the following error:
Exception in thread "Animation Thread" java.lang.OutOfMemoryError: Java heap space
at processing.core.PFont.<init>(Unknown Source)
at processing.core.PApplet.loadFont(Unknown Source)
at blueberry.setup(blueberry.java:75)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
My font is in my data folder, and I've tried it with several fonts, but always the same issue. Any thoughts on what could be causing this or how to get around it?
Thanks,
AK
I'm using PDE 1.5, and I'm running into something perplexing when I export my applet. The applet runs fine locally, but once I put it on the server, I get the following error:
Exception in thread "Animation Thread" java.lang.OutOfMemoryError: Java heap space
at processing.core.PFont.<init>(Unknown Source)
at processing.core.PApplet.loadFont(Unknown Source)
at blueberry.setup(blueberry.java:75)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
My font is in my data folder, and I've tried it with several fonts, but always the same issue. Any thoughts on what could be causing this or how to get around it?
Thanks,
AK
1