Wolfram Computation Meets Knowledge

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 для международных звонков)

Служба поддержки

Понедельник-пятница
с 08:00 до 17:00 по центральному времени США

  • Регистрация или активация продукта
  • Предпродажная информация и заказ
  • Помощь в установке и первом запуске

Расширенная техническая поддержка (для правомочных клиентов)

Понедельник-четверг
с 08:00 до 19:00 по центральному времени США

Пятница
с 08:30 до 10:00 и с 11:00 до 17:00 по центральному времени США

  • Приоритетная техническая поддержка
  • Поддержка по продуктам от экспертов Wolfram
  • Помощь специалистов по программированию на Wolfram Language
  • Расширенная поддержка установки