"java.lang.OutOfMemoryError" when runnung snap with Python

How much RAM is utilised can be configured in snappy.ini

See my post: Snappy error - ProductIO.writeProduct