Thomas Adrian
Thomas Adrian

Reputation: 3636

Why do Domino store all my inline images in the xsppers folder?

Every time I reload my webpage new files are added to the c:\windows\temp\notes...\xsppers folder on the server. and these files are never deleted, I have to manually delete them, and it can be several GB of data to delete every month

I have a simple xpage with a repeat control that display data from several documents using a computed Field mapped to a rich text field.

the richtext fields contain a lot of inline images that has been added using the notes client.

Now, every time I reload my webpage these images are now detached to the xspper folder and is causing my harddrive to run out of disc space all the time.

What is the reason for this behaviour and how can I avoid it from happening?

In the image below you see all the gifs that has been created with a new uinque name, each time I reload my webpage a new set up images are added to the folder.

I am using Domino 9

enter image description here

Upvotes: 0

Views: 684

Answers (2)

Sven Hasselbach
Sven Hasselbach

Reputation: 10485

As Egor Margineanu wrote, this can happen if your images are not stored as MIME images in your Rich Text item.

This forces the domino server to detach the attachment(s) over and over again to disc, because it is required to generate a GIF form the inline image. If you change the MIME type of your rich text item in your form and save the document(s) again, the images are stored in the "correct" format, and the domino server is able to identify that the images are already on the HDD.

As far I can see the temorarly detached attachments are not wiped when the session ends. This seems to happen if the application ends.

Upvotes: 1

Per Henrik Lausten
Per Henrik Lausten

Reputation: 21709

Not a complete answer but some clarification from the XPages Portable Command Guide, page 36:

The files remain in the temporary persistence location until the user session expires. The file is not removed after the document is saved, although it is no longer referenced by URLs.

It may be useful to change this setting to point to a different location if the folder is taking up too much space on the main server drive and another drive has more available space. This option is server-wide, so it should be set in the server xsp.properties file. Values set in a particular application’s xsp.properties file are ignored.

Based on your question, Thomas, it seems that this is not what you are experiencing.

Upvotes: 0

Related Questions