Title: Memory size problem
Last modified: August 21, 2016

---

# Memory size problem

 *  [DaliborNik](https://wordpress.org/support/users/dalibornik/)
 * (@dalibornik)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/memory-size-problem-1/)
 * Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate
   122880 bytes) in /home/orbithea/public_html/wp-content/plugins/wp-e-commerce/
   wpsc-merchants/chronopay.php on line 92
 * Just installed wp e-commerce and lost all the photos from galleries
 * Pls see above.
 * Any help welcome
 * Thanks

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/memory-size-problem-1/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/memory-size-problem-1/page/2/?output_format=md)

 *  [rmasfer](https://wordpress.org/support/users/rmasfer/)
 * (@rmasfer)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/memory-size-problem-1/#post-4282303)
 * Did you try to increase upload size of your server? It is something to do with
   your server setting.
 *  Thread Starter [DaliborNik](https://wordpress.org/support/users/dalibornik/)
 * (@dalibornik)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/memory-size-problem-1/#post-4282306)
 * I have 150Gigs on the server, and I’m hardly using 1/100 of it at the moment.
 * I think it is somenthing with PHP. But I might be wrong.
 *  [rmasfer](https://wordpress.org/support/users/rmasfer/)
 * (@rmasfer)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/memory-size-problem-1/#post-4282308)
 * Yes. That is your server capacity. But we have set the maximum allowed size for
   uploaded files.
 * check this link.
    [http://stackoverflow.com/questions/2184513/php-change-the-maximum-upload-file-size](http://stackoverflow.com/questions/2184513/php-change-the-maximum-upload-file-size)
 * You can change those setting using .htaccess file
 *  Thread Starter [DaliborNik](https://wordpress.org/support/users/dalibornik/)
 * (@dalibornik)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/memory-size-problem-1/#post-4282313)
 * # BEGIN WordPress
    <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule
   ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}!-
   d RewriteRule . /index.php [L] </IfModule>
 * # END WordPress
 * This is the copy of .htaccess file
 * Which line should I update.
 * Many thanks
 *  [rmasfer](https://wordpress.org/support/users/rmasfer/)
 * (@rmasfer)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/memory-size-problem-1/#post-4282315)
 * Try this
 * php_value post_max_size 30M
    php_value upload_max_filesize 30M
 * Note : Change amount of size you need.
 *  [rmasfer](https://wordpress.org/support/users/rmasfer/)
 * (@rmasfer)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/memory-size-problem-1/#post-4282316)
 * Just add those code inside your htaccess file.
 *  Thread Starter [DaliborNik](https://wordpress.org/support/users/dalibornik/)
 * (@dalibornik)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/memory-size-problem-1/#post-4282320)
 * Internal Server Error
 * The server encountered an internal error or misconfiguration and was unable to
   complete your request.
 * Please contact the server administrator, [webmaster@orbithealth.co.nz](https://wordpress.org/support/topic/memory-size-problem-1/webmaster@orbithealth.co.nz?output_format=md)
   and inform them of the time the error occurred, and anything you might have done
   that may have caused the error.
 * More information about this error may be available in the server error log.
 * Additionally, a 500 Internal Server Error error was encountered while trying 
   to use an ErrorDocument to handle the request.
 * This is the code I updated:
    # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine
   On RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME}!-
   f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule
   > php_value post_max_size 30M php_value upload_max_filesize 30M # END WordPress
 *  Thread Starter [DaliborNik](https://wordpress.org/support/users/dalibornik/)
 * (@dalibornik)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/memory-size-problem-1/#post-4282322)
 * when I removed
 * php_value post_max_size 30M
    php_value upload_max_filesize 30M
 * The site poped out easily
 *  [rmasfer](https://wordpress.org/support/users/rmasfer/)
 * (@rmasfer)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/memory-size-problem-1/#post-4282324)
 * Because you don’t have permission to change server settings.
 * I think you have contact your host provider or check your host admin page (Eg.
   cpanel) to change PHP values
 *  Thread Starter [DaliborNik](https://wordpress.org/support/users/dalibornik/)
 * (@dalibornik)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/memory-size-problem-1/#post-4282497)
 * Spoke to the host provider (crazydomains) and they said there is nothing to do
   with them.
 * They said I have to adjust PHP myself which is a problem as I dont know how to
   do that
 *  [rmasfer](https://wordpress.org/support/users/rmasfer/)
 * (@rmasfer)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/memory-size-problem-1/#post-4282500)
 * Send me your host details. I will try to help you.
 * _[ Deleted ]_
 *  Thread Starter [DaliborNik](https://wordpress.org/support/users/dalibornik/)
 * (@dalibornik)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/memory-size-problem-1/#post-4282501)
 * I fixed it uo with “Change Memory Limit”
 * Works well, dont need to go through php or so
 * problem solved
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [12 years, 5 months ago](https://wordpress.org/support/topic/memory-size-problem-1/#post-4282502)
 * [@rmasfer](https://wordpress.org/support/users/rmasfer/), please try to keep 
   support on these forums.
 * [@dalibornik](https://wordpress.org/support/users/dalibornik/), hopefully you
   didn’t give away any login credentials.
 *  [rmasfer](https://wordpress.org/support/users/rmasfer/)
 * (@rmasfer)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/memory-size-problem-1/#post-4282503)
 * [@andrew](https://wordpress.org/support/users/andrew/) Nevins I only wanted him.
   I have nothing to do with his login credentials
 *  [rmasfer](https://wordpress.org/support/users/rmasfer/)
 * (@rmasfer)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/memory-size-problem-1/#post-4282504)
 * [@andrew](https://wordpress.org/support/users/andrew/) Nevins I only wanted to
   help him. I have nothing to do with his login credentials

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/memory-size-problem-1/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/memory-size-problem-1/page/2/?output_format=md)

The topic ‘Memory size problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 18 replies
 * 4 participants
 * Last reply from: [DaliborNik](https://wordpress.org/support/users/dalibornik/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/memory-size-problem-1/page/2/#post-4282516)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
