#40720 [Bgs]: Huge arrays cause large memory usage in Ubuntu, but not Windows

From: Date: Mon, 05 Mar 2007 19:15:13 +0000
Subject: #40720 [Bgs]: Huge arrays cause large memory usage in Ubuntu, but not Windows
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-109938@lists.php.net to get a copy of this message
ID: 40720 Updated by: stas@php.net Reported By: soadlink at gmail dot com Status: Bogus Bug Type: Performance problem Operating System: Ubuntu 6.10 PHP Version: 5.2.1 New Comment: I the Linux OS 64-bit? Then difference in memory requirements are easily explained - on 64-bit pointers and longs are twice as long as on 32-bit, and PHP uses both a lot in variables, so memory requirement for huge array can be significantly bigger on 64-bit OS. Previous Comments: ------------------------------------------------------------------------ [2007-03-05 11:37:51] soadlink at gmail dot com Then it is neither bogus or closed, because a problem does exist, so it is definitely not bogus. ------------------------------------------------------------------------ [2007-03-05 11:30:59] tony2001@php.net "Closed" means there was a problem and it has been fixed. ------------------------------------------------------------------------ [2007-03-05 11:25:45] soadlink at gmail dot com Closed, not bogus, as I voluntarily decided to end the problem. ------------------------------------------------------------------------ [2007-03-05 11:20:48] tony2001@php.net . ------------------------------------------------------------------------ [2007-03-05 11:08:01] soadlink at gmail dot com >Because your windows machine has more RAM? Just as I figured, you obviously didn't read my first post entirely, and have little clue what I was talking about... which is why I was repeating myself. >Because the script doesn't actually work? Actually it works just fine on Windows. Ubuntu is where I have the problems. What's that the 3rd time I've said that now? >Because it works differently? Really? Gee I didn't notice that. /sarcasm Anyways forget it. Don't even bother helping. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/40720 -- Edit this bug report at http://bugs.php.net/?id=40720&edit=1

« previous php.bugs (#109938) next »