WOLFRAM

How can I address a “FrontEndError” when running a webMathematica server on Windows?

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:

  1. Locate the registry entry:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\
    SubSystems\Windows
    
    %SystemRoot%system32csrss.exe ObjectDirectory=Windows
    SharedSection=1024,3072,512 Windows=On SubSystemType=Windows
    ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3
    ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off
    
    MaxRequestThreads=16 
  2. Identify the SharedSection variable.
  3. Delete its third parameter, i.e. replace “1024,3072,512” with “1024,3072” in the above example.
该文档是否有帮助?

任何建议?

非常感谢您的反馈!

提交

联系支持团队

从账单到产品激活,以及任何技术相关内容,无论您遇到任何问题,我们都在此为您提供帮助。

1-800-WOLFRAM (+1-217-398-0700 美国境外用户)

客服支持

周一至周五
8am–5pm 美国中部时区

  • 产品注册或激活
  • 预售信息和订单
  • 安装帮助和首次启动

高级技术支持 (面向特定用户)

周一至周四
8am–7pm 美国中部时区

周五
8:30–10am & 11am–5pm 美国中部时区

  • 优先技术支持
  • Wolfram 专家助理专员
  • Wolfram 语言编程帮助
  • 高级安装支持