jashkenas / ruby-processing

Code as Art, Art as Code. Processing and Ruby are meant for each other.
http://github.com/jashkenas/ruby-processing/wikis
Other
1.28k stars 94 forks source link

increase memory limit of rp5 sketch #26

Closed thomastraum closed 13 years ago

thomastraum commented 13 years ago

hey sorry if this is a noob question but how do I increase the memory limit rp5 runs with? I need to load lots of images in memory. Thanks for creating rp5 its really good fun and nice way to learn ruby!

Thomas

monkstone commented 13 years ago

Create a 'data' folder if you haven't got one already in that folder create a file "java_args.txt" add the usual jvm command line options to the file eg

-Xms256m -Xmx256m

See the anar library examples in the distributed samples.

thomastraum commented 13 years ago

thanks a lot works perfect, didn't know about this option