Lars,
uhm, installed that package and it confirms your suspicion:
Total memory: 612 Megabytes
Kernel Memory: 60 Megabytes
Application: 89 Megabytes
Executable & libs: 32 Megabytes
File Cache: 419 Megabytes
Free, file cache: 6 M
Hi Markus,
I just missed something in your original Mail,
I guess its not the mysql server growing to 1gig (check with ps -ely)
its simply the system memory showing no free mem.
If you have root access to the maschine its probably a good idea to
install the prtmem command (ftp://playground.sun.co
Lars,
the amount used increases until all free memory is used plus a fair amount of
swap. On a machine with 2GB memory this can well grow up to 1GB.
Any chance to get the current size of the malloc pool to check if this
causes the effect?
thx so far,
Markus
On Don, 21 Nov 2002, Lars Heidieker
Does the memory amount used increases any further if repeating the dump
import.
If so there is a leak if not you just got fooled by the standard malloc
of solaris which wont return memory free(d) to the system but instead
the memory will be kept in a pool for the next malloc.
Lars
On Donnerst
>Description:
Dump several big tables or entire databases with mysqldump, then
import to same or another database with mysql -f db How-To-Repeat:
Dump a database with around 250.000 to 3.000.000 records, record size
is around 200 bytes.
Import dump file and s
s may follow.
mailing.database.myodbc and mailing.database.mysql group has several repots
about -- have a look at them
( Google->groups search result on 'mysql++ memory leak' )
--
http://groups.google.com.ru/groups?q=mysql%2B%2B+memory+leak&hl=ru&lr=&ie=UTF-8&am
LLow -- exception: " << e.what() << endl;
throw;
}
}
int main(void)
{
connect();
int i=0;
while(true)
{
sql("SELECT * FROM a");
// comment out this line to eliminate memory leak
sql("UPDATE a SET i=i+1&
On Thu, Apr 11, 2002 at 12:05:45PM -0700, Steven Deaton wrote:
>
> I am having a problem with a mysql server that I have that starts up
> with about 10-15 processes at 12MB each.and then JUMPS to a
> couple hundred processes at 100MB each. in just a couple minutes
> time.
Can you get a pr
I am having a problem with a mysql server that I
have that starts up with about 10-15 processes at 12MB
each.and then JUMPS to a couple hundred processes
at 100MB each. in just a couple minutes time.
What can cause this, other than just some loop in a script?
Any ideas anyone?
This is on