Increase jsHeapSizeLimit past 3760000000 bytes

I am currently trying to increase electrons jsHeapSizeLimit. Within the main.js file I am calling app.commandLine.appendSwitch('js-flags', '--max-old-space-size=8192'); before the app ready state is called. This doesn’t seem to increase the memory past 3760000000 bytes. I am able to set it lower than 3760000000 using the same call above and that works. Any help with this would be appreciated.