Yes, I allocate as follows in both wrapper.conf files.
Initial Java Heap Size (in MB)
wrapper.java.initmemory=1024
Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=4096
Note that these files (or one of them) are only read when running as a service as they provide params for the Tanutki Wrapper, which supports running as a service. But I had a long-running issue of large files uploading and crashing the heap. I eventually set the file size limit to 5MB, which works for my purposes. There must be a way to upload much larger files. If you figure it out, please share.