When using a Windows machine as the webMathematica server, the error message
FrontEndError: ExportString failed: -Graphics- may appear in place of the graphics on a webpage. This may indicate that the Mathematica front end did not launch.
Windows limits the amount of memory allocated to non-interactive users, such as Mathematica kernels launched by the Tomcat server. When such kernels need to perform a calculation that requires the Mathematica front end, the memory allocation setting may prevent the launching of the front end.
To increase the available memory, allow non-interactive users to use the same amount of memory as interactive users:
- Locate the registry entry:
- Identify the SharedSection variable.
- Delete its third parameter, i.e. replace “1024,3072,512” with “1024,3072” in the above example.