LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-03-2004, 07:11 AM   #1
ion111
LQ Newbie
 
Registered: Jun 2004
Location: :D
Distribution: debian
Posts: 6

Rep: Reputation: 0
Error: cannot allocate memory


I am on Linux kernel 2.4.20-xfs, Knoppix (Debian), XFree86, Fluxbox.

When I try to run gnumeric, I have the following problem :
Code:
>gnumeric
Fatal error : canot allocate memory
I have a similar error with gedit ??
Code:
>gedit
...
gedit: relocation error: gedit: udefined symbol: eel_input_event_box_new
I had to check my memory, so,
Code:
>cat /proc/meminfo

       total:    used:    free:  shared: buffers:  cached:
Mem:  528338944 522436608  5902336        0 15572992 270766080
Swap: 699105280  2387968 696717312
MemTotal:       515956 kB
MemFree:          5764 kB
MemShared:           0 kB
Buffers:         15208 kB
Cached:         262904 kB
SwapCached:       1516 kB
Active:         188308 kB
Inactive:       294316 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       515956 kB
LowFree:          5764 kB
SwapTotal:      682720 kB
SwapFree:       680388 kB
I have tried in another way too :
Code:
>top -b -n 1 | grep -E '^Mem|^Swap'

Mem:    515956k total,   509900k used,     6056k free,    15248k buffers
Swap:   682720k total,     2716k used,   680004k free,   261524k cached
I have two questions :

--> how do I see the amount of memory allocated to each program. I don't understand how I can have 509900k memory used

--> the error of gnumeric is because this memory problem ?

Thank you

Last edited by ion111; 07-03-2004 at 07:20 AM.
 
Old 07-03-2004, 11:04 AM   #2
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
this problem showed up at my last debian update too. i believe there is some sort of incompatiblity with the libs/programms since i had to mess 'round to get my gnome working right again. i have no solution yet, but there is no memory problem, i believe. a good prog for watching what's using how much memory is memstat (see man memstat for further details).

sl mritch.
 
Old 07-03-2004, 01:09 PM   #3
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
yea i think upgrade gedit and gnumeric
they must have gotten out of sync
 
Old 07-03-2004, 01:45 PM   #4
ion111
LQ Newbie
 
Registered: Jun 2004
Location: :D
Distribution: debian
Posts: 6

Original Poster
Rep: Reputation: 0
Ok thank you very much.

I have used memstat to see allocated memory, and I found something weard :
Code:
>memstat
3754312k: /dev/dri/card0 631
Any idea of what this might be ?
 
Old 07-03-2004, 02:54 PM   #5
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
don't worry, that's allocated mem for your dri (direct rendering interface?) aka mem for you graphic card. also agp.

sl mritch.
 
Old 07-03-2004, 04:24 PM   #6
ion111
LQ Newbie
 
Registered: Jun 2004
Location: :D
Distribution: debian
Posts: 6

Original Poster
Rep: Reputation: 0
OK thanks for dri

I have tried to upgrade gnumeric and gedit with apt-get and I still have the same problem

What does
Quote:
they must have gotten out of sync
means ?
 
Old 07-03-2004, 06:26 PM   #7
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
i think foo_bar_foo wanted to say that they (debian) made a boo boo (failure) with their packages or that there is a mismatch with these. i havn't looked at debian.org if they are working on it since i rarely (never) use that software. you may send in a bug report or search www.debian.org (or google) for any information if you need those packages.

sl mritch.
 
Old 07-04-2004, 07:33 AM   #8
ion111
LQ Newbie
 
Registered: Jun 2004
Location: :D
Distribution: debian
Posts: 6

Original Poster
Rep: Reputation: 0
I have found this problem as gnumeric bug, reported on debian site
Here is the link :
http://bugs.debian.org/cgi-bin/pkgre..._pending-fixed
Quote:
Grave functionality bugs - pending upload
....
* #256243: gnumeric: gnumeric fails to start trying to allocate memory
Package: gnumeric; Severity: grave; Reported by: Luiz-Otavio Zorzella <zorzella@zorzella.com>; Tags: pending, sarge; merged with #255926; 8 days old.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SIOCSIFFLAGS: cannot allocate memory spage0506 Linux - Software 11 07-17-2015 10:43 PM
Error inserting lockd: Cannot allocate memory - Linux 2.6.13.2 Iceberg69 Linux - Software 1 09-29-2005 11:20 PM
Cannot allocate memory Terroth Linux - General 13 02-09-2005 06:22 AM
allocate more memory? sockknitter Debian 3 11-06-2004 06:23 PM
unable to allocate memory vedant Linux - Hardware 0 07-15-2003 08:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration