memory-limit Questions

10

Solved

I'm need to check if memory_limit is at least 64M in my script installer. This is just part of PHP code that should work, but probably due to this "M" it's not reading properly the value. How to fi...
Chaisson asked 18/4, 2012 at 11:47

36

I have a bunch of client point of sale (POS) systems that periodically send new sales data to one centralized database, which stores the data into one big database for report generation. The client...
Warfeld asked 18/2, 2009 at 13:33

9

I get the mongo error exceeded memory limit with error code 16819 when I use aggregation sort. Im using mongo 2.6. The query is as follows: db.BASE_TABLE_CREATION_ExecuteHiveScript_26_V0.aggrega...
Cabby asked 15/10, 2014 at 5:21

8

I have two domains, webhosted on 000webhost. I installed wordpress on them and for some days it functioned well, but now it shows me the following error on both of them: Fatal error: Allowed m...
Aloysia asked 23/7, 2013 at 18:24

3

Solved

I'm running into an issue when trying to insert ~20K records into my DB. I notice that even though I'm echoing inside my foreach loop, I'm not getting anything outputted in the command line. Instea...
Peterpeterborough asked 15/9, 2012 at 23:49

10

I'm getting the error when I run my PHP script.... Fatal error: Out of memory (allocated 1827405824) (tried to allocate 88800 bytes) I've added this line to my PHP script.. ini_set("memory_limi...
Issy asked 9/12, 2010 at 14:14

24

Solved

This error message is being presented, any suggestions? Allowed memory size of 33554432 bytes exhausted (tried to allocate 43148176 bytes) in php
Striker asked 6/1, 2009 at 8:18

3

Solved

I'm getting an error when I try to open one of my dashboard pages in my wordpress script The error message is as follows: Fatal error: Allowed memory size of 268435456 bytes exhausted (tried t...
Puny asked 10/2, 2014 at 14:46

3

Solved

I've just installed phpunit via pear in a mac osx 10.7 and everything works fine except I got memory limit errors (xdebug enabled for reports). I tried to add the -d memory_limit=512M parameter to...
Arrogant asked 10/1, 2012 at 20:31

5

For bad reasons I need to set memory_limits higher than 1 GB for a directory, but on my PHP 5.2.17 on a Debian 5.0 (Lenny) server when I use, for example, 2048M, I get only the php.ini default valu...
Jotun asked 14/2, 2012 at 11:41

6

Solved

I've been trying to increase the php memory_limit in MAMP (Mac OSX). The version of PHP I'm using is 5.4.1.0. I've read about creating a new template for MAMP Pro, but I'm using the standard versio...
Hastate asked 23/9, 2014 at 13:45

8

Solved

I have an problem increasing memory limit for PHP as Apache module. If I put following directive in Apache configuration, that work OK: php_value memory_limit 1.99G But over 2GB do not work, it...
Dedradedric asked 9/8, 2012 at 14:1

1

Solved

I allocated resource to 1 pod only with 650MB/30% of memory (with other built-in pods, limit memory is 69% only) However, when the pod handling process, the usage of pod is within 650MB but overal...
Spang asked 30/8, 2019 at 7:13

0

I have a database composed of millions of training examples. Each is saved as its own numpy.memmap. (Yes, yes, I know, but they're of irregular sizes. I probably will modify my design to put like-s...
Agglutinin asked 7/8, 2019 at 20:47

1

We do a lot of image processing in Google Cloud Functions using NodeJS and Sharp (libvips) library. Even though we have the memory limit for our functions set to 2Gb the function occasionally runs ...
Wilhelmstrasse asked 13/2, 2019 at 10:16

8

Solved

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 13965430 bytes) PHPInfo shows that I have a memory_limit of 128M, so I'm confused as to why the error says I only...
Portuguese asked 4/11, 2010 at 12:23

3

Given a Docker container that has been launched with a memory limit, I wonder if it possible to detect when that memory limit is being enforced, and thus the container is about to crash because it'...
Rhizome asked 18/12, 2018 at 18:54

1

Solved

I am looking at several open source workflow schedulers for a DAG of jobs with heterogeneous RAM usage. The scheduler should not only schedule less than a maximum number of threads, but should also...
Notions asked 2/9, 2018 at 20:52

2

Solved

I'm running a Java program inside a Docker container that has a hard memory limit of 4GB. I've set the max heap to 3GB but still the Java program exceeds the limit and gets killed (OOMKilled). My ...
Wivinah asked 27/8, 2018 at 13:53

4

For the first time im using mpdf library and everything worked fine. I wrote a script to create pdf file which consist a table of 274 rows. When i run the script i get php memory error. I tried di...
Pugilist asked 18/3, 2013 at 13:52

1

i try to make array with PHP. The dimension of the array is 26000 x 26000. Is it possible to make array that big? I already try to make an array with dimension 10000 x 10000 but the program keep te...
Jowl asked 25/4, 2016 at 12:40

2

Solved

When we use ini_set like below in code, will memory limit be the same for all other codes? or only valid for in which code we added ? ini_set('memory_limit', '512M'); Thanks
Superintendency asked 3/3, 2017 at 11:39

2

What I'm asking is if it's possible to limit memory (heap or stack) assigned to a specific process, so that this process can't exceed it. Maybe something like "process_flag(min_heap_size, MinHeapSi...
Yacht asked 4/12, 2012 at 9:21

1

I know it's easily possible to increase the memory limit of R using the command memory.limit(size=N). If I try to decrease it to a value smaller than N, for obvious reasons I get the error: Warnin...
Greenlet asked 17/6, 2016 at 11:13

2

I have written a Symfony command to import some data from an API. It works but the problem is my PHP memory usage increases when I insert a big JSON in my database. And my unitOfWork increases by '...
Tussah asked 9/7, 2012 at 10:8

© 2022 - 2024 — McMap. All rights reserved.