Sometimes the use of resources by the application causes issues with memory.  This can be due to extensions programming, resource limitations on the server, different loads on the server taking up resources, etc.  When this occurs, one of the settings you can change to lighten the memory load is to change the option for printing invoices to use the hard drive to cache the process.  This can lead to perfomance issues with the generation of the PDF invoices, but will save memory.  The following tutorial will take you through the process of changing the setting  to use disk caching for PDF invoices in PrestaShop 1.5

Selecting Disk Caching to Create PDF Invoices

  1. Login to the Administrator Dashboard as an Administrator
  2. Go to the menu bar and hover over ORDERS, then click on the second item that appears in the drop-down menu, INVOICES.  Scroll down into the  PRINT PDF INVOICE options until you will see the last item:


    Note that the checkbox to make this item active is only available when the MultiShop option is turned on and particular shop is selected.

    Click on the checkbox to make the radial buttons (marked Yes and No) active.  Activate by selecting YES, or deactivate by selecting NO.
  3. Click on the SAVE button below in order to save your changes.

The main effect of using disk caching for generating invoices is to reduce the amount of memory being used by the Prestashop application.  This option shifts the memory being used for this process to the hard drive instead of the RAM memory used by the server.  You should be conscientious of this effect. The generation of the invoice and the performance of your server can be adversely affected if you have very little hard drive space available.  Make sure that you have ample hard drive space available (more than 30% is preferable) before making this option active.  If you are unsure, check with your hosting provider's technical support or your website administrator before setting the option.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.