I often run into memory problems on my Macbook Pro (8GB ram) when running my CellProfiler pipelines.
I have learned that I can set an argument (–jvm-heap-size=JVM_HEAP_SIZE) when launching the app to allocate more memory to CellProfiler.
I have tried various commands in Terminal.app, e.g. “open CellProfiler.app/ --jvm-heap-size=2g”, but they all either fail to launch CellProfiler or fail to launch CellProfiler with extra memory.
How can I do this on OS X?