Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to reduce number of temp files Word creates on servers #223

Open
ericawarren opened this issue Apr 25, 2017 · 2 comments
Open

Try to reduce number of temp files Word creates on servers #223

ericawarren opened this issue Apr 25, 2017 · 2 comments

Comments

@ericawarren
Copy link
Contributor

Accumulation of temp files reduces available memory and over time can lead to more crashes during validator macros. Some things to research/try:

  • Make sure autosave is disabled
  • Add periodic saves during macro execution
  • Add periodic Undo.Clear during macro execution (Matt has added already for some things, but we can create a specific cleanup function and a standard way to call it).
  • Set default view to Draft (having to recalculate page numbers in headers/footers in Print view can use excess memory)
  • (Probably a longer-term solution): More consistent and verbose error trapping + way to check if Word is hung (timer?) + script to kill Word process automatically = can set Visible = $false on server. Could maybe even switch to true if someone is actively logged on.
@MacmillanWorkflows
Copy link
Member

➤ erica.warren commented:

another option: automate regular purge of temp files w/o rebooting

@MacmillanWorkflows
Copy link
Member

➤ erica.warren commented:

As we move away from running Word on the server, this may stop being an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants