FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 11-18-2011, 04:42 PM
Mick
 
Default Out of memory error

On Thursday 17 Nov 2011 06:53:29 Mick wrote:
> What started as a Firefox make error revealed an out of memory error.
> Since this is the first time ever that this old x86 laptop has developed
> such an ailment I am not sure what may be causing this? The error is
> repeatable.
>
> This is what dmesg shows:
> =======================================
> lowmem_reserve[]: 0 618 618
> Normal free:3092kB min:3140kB low:3924kB high:4708kB active_anon:297788kB
> inactive_anon:297872kB active_file:1480kB inactive_file:1632kB
> unevictable:656kB isolated(anon):0kB isolated(file):0kB present:633792kB
> mlocked:0kB dirty:0kB writeback:0kB mapped:12kB shmem:8kB
> slab_reclaimable:4560kB
> slab_unreclaimable:5528kB kernel_stack:1160kB pagetables:1648kB
> unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:5424
> all_unreclaimable? yes lowmem_reserve[]: 0 0 0
> DMA: 1*4kB 287*8kB 14*16kB 1*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB
> 0*2048kB 0*4096kB = 2556kB
> Normal: 773*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB
> 0*2048kB 0*4096kB = 3092kB
> 4263 total pagecache pages
> 3318 pages in swap cache
> Swap cache stats: add 100110, delete 96792, find 12476/15173
> Free swap = 0kB
> Total swap = 257004kB
> 163776 pages RAM
> 3742 pages reserved
> 833 pages shared
> 157340 pages non-shared
> [ pid ] uid tgid total_vm rss cpu oom_adj oom_score_adj name
> [ 3989] 0 3989 622 22 0 -17 -1000 udevd
> [ 4257] 0 4257 621 42 0 -17 -1000 udevd
> [ 5093] 0 5093 481 7 0 0 0 ifplugd
> [ 5316] 0 5316 524 1 0 0 0 dhcpcd
> [ 5358] 0 5358 860 25 0 0 0 smartd
> [ 5359] 104 5359 693 30 0 0 0 dbus-daemon
> [ 5381] 0 5381 943 6 0 0 0 syslog-ng
> [ 5382] 0 5382 1588 57 0 0 0 syslog-ng
> [ 5429] 0 5429 1048 11 0 0 0 cron
> [ 5435] 0 5435 477 12 0 0 0 acpid
> [ 5469] 0 5469 6548 68 0 0 0
> console-kit- dae
> [ 5548] 0 5548 5719 78 0 0 0 polkitd
> [ 5575] 0 5575 590 36 0 0 0 chronyd
> [ 5599] 0 5599 825 1 0 0 0 login
> [ 5600] 0 5600 486 1 0 0 0 agetty
> [ 5601] 0 5601 486 1 0 0 0 agetty
> [ 5602] 0 5602 486 1 0 0 0 agetty
> [ 5603] 0 5603 486 1 0 0 0 agetty
> [ 5604] 0 5604 486 1 0 0 0 agetty
> [ 5613] 1000 5613 1333 31 0 0 0 bash
> [ 5621] 1000 5621 1325 111 0 0 0 screen
> [ 5622] 1000 5622 1333 1 0 0 0 bash
> [ 5628] 0 5628 1200 1 0 0 0 su
> [ 5629] 0 5629 1333 1 0 0 0 bash
> [ 5665] 0 5665 1578 26 0 -17 -1000 sshd
> [ 5705] 65534 5705 548 1 0 0 0 boa
> [ 5722] 0 5722 1099 1 0 0 0 rsync
> [ 6194] 0 6194 22569 1083 0 0 0 emerge
> [ 8944] 0 8944 477 1 0 0 0 sandbox
> [ 8945] 0 8945 1832 1 0 0 0 ebuild.sh
> [ 8965] 0 8965 2449 1 0 0 0 ebuild.sh
> [ 8983] 0 8983 974 1 0 0 0 emake
> [ 8988] 0 8988 734 1 0 0 0 make
> [ 9275] 0 9275 798 1 0 0 0 make
> [17096] 0 17096 785 43 0 0 0 make
> [17871] 0 17871 769 1 0 0 0 make
> [23499] 0 23499 871 49 0 0 0 make
> [ 4249] 0 4249 2421 2 0 0 0 sshd
> [ 4266] 1000 4266 2421 1 0 0 0 sshd
> [ 4267] 1000 4267 1333 1 0 0 0 bash
> [ 6224] 0 6224 803 1 0 0 0 make
> [ 6243] 0 6243 2232 1 0 0 0 python2.7
> [ 6244] 0 6244 679 1 0 0 0
> i686-pc-linux- g
> [ 6245] 0 6245 650 1 0 0 0 collect2
> [ 6246] 0 6246 187711 147110 0 0 0 ld
> Out of memory: Kill process 6246 (ld) score 803 or sacrifice child
> Killed process 6246 (ld) total-vm:750844kB, anon-rss:588432kB, file-rss:8kB
> ld: page allocation failure: order:0, mode:0x20058
> Pid: 6246, comm: ld Not tainted 3.0.6-gentoo #1
> Call Trace:
> [<c107109c>] ? warn_alloc_failed+0xbc/0xf0
> [<c107399d>] ? __alloc_pages_nodemask+0x52d/0x700
> [<c106d936>] ? find_or_create_page+0x46/0xa0
> [<c10bce26>] ? __getblk+0xc6/0x1e0
> [<c103f823>] ? wake_up_bit+0x13/0x30
> [<c11029c8>] ? search_by_key+0x68/0x1170
> [<c108a5ad>] ? try_to_unmap_one+0x13d/0x270
> [<c1291f36>] ? radix_tree_delete+0x116/0x240
> [<c1023be0>] ? enqueue_task_rt+0x20/0x130
> [<c1072e5c>] ? __pagevec_free+0x1c/0x30
> [<c1023d25>] ? enqueue_task.clone.127+0x35/0x70
> [<c1103bed>] ? search_for_position_by_key+0x11d/0x2e0
> [<c1103afb>] ? search_for_position_by_key+0x2b/0x2e0
> [<c108a5ad>] ? try_to_unmap_one+0x13d/0x270
> [<c10ef5cf>] ? _get_block_create_0+0xbf/0x7a0
> [<c15dede8>] ? mutex_lock+0x8/0x20
> [<c10f2d0c>] ? reiserfs_get_block+0xdac/0x1470
> [<c128b120>] ? changed_ioprio+0x70/0x70
> [<c127e8af>] ? elv_set_request+0xf/0x30
> [<c10790d5>] ? shrink_zone+0x225/0x550
> [<c1060cb3>] ? __delayacct_freepages_end+0x23/0x30
> [<c1079f74>] ? do_try_to_free_pages+0x304/0x320
> [<c10c47db>] ? do_mpage_readpage+0x34b/0x5f0
> [<c106d4ae>] ? add_to_page_cache_locked+0x4e/0xd0
> [<c10c4ba2>] ? mpage_readpages+0xc2/0x110
> [<c10f1f60>] ? restart_transaction+0xa0/0xa0
> [<c10efd30>] ? reiserfs_bmap+0x80/0x80
> [<c10752ce>] ? __do_page_cache_readahead+0x16e/0x1f0
> [<c10f1f60>] ? restart_transaction+0xa0/0xa0
> [<c107557e>] ? ra_submit+0x1e/0x30
> [<c106f31d>] ? filemap_fault+0x2bd/0x380
> [<c106f060>] ? __lock_page_or_retry+0xb0/0xb0
> [<c1081d80>] ? __do_fault+0x40/0x400
> [<c106f060>] ? __lock_page_or_retry+0xb0/0xb0
> [<c1084161>] ? handle_pte_fault+0x81/0x5b0
> [<c1084711>] ? handle_mm_fault+0x81/0xc0
> [<c101be90>] ? do_page_fault+0x100/0x440
> [<c109832b>] ? vfs_read+0x13b/0x160
> [<c1098391>] ? sys_read+0x41/0x80
> [<c101bd90>] ? vmalloc_sync_all+0xd0/0xd0
> [<c15dfc01>] ? error_code+0x65/0x6c
> Mem-Info:
> DMA per-cpu:
> CPU 0: hi: 0, btch: 1 usd: 0
> Normal per-cpu:
> CPU 0: hi: 186, btch: 31 usd: 123
> active_anon:76029 inactive_anon:76095 isolated_anon:0
> active_file:370 inactive_file:409 isolated_file:0
> unevictable:164 dirty:0 writeback:0 unstable:0
> free:1412 slab_reclaimable:1175 slab_unreclaimable:1394
> mapped:3 shmem:2 pagetables:435 bounce:0
> DMA free:2556kB min:76kB low:92kB high:112kB active_anon:6328kB
> inactive_anon:6508kB active_file:0kB inactive_file:4kB unevictable:0kB
> isolated(anon):0kB isolated(file):0kB present:15804kB mlocked:0kB dirty:0kB
> writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:140kB
> slab_unreclaimable:48kB kernel_stack:8kB pagetables:92kB unstable:0kB
> bounce:0kB writeback_tmp:0kB pages_scanned:2 all_unreclaimable? yes
> lowmem_reserve[]: 0 618 618
> Normal free:3092kB min:3140kB low:3924kB high:4708kB active_anon:297788kB
> inactive_anon:297872kB active_file:1480kB inactive_file:1632kB
> unevictable:656kB isolated(anon):0kB isolated(file):0kB present:633792kB
> mlocked:0kB dirty:0kB writeback:0kB mapped:12kB shmem:8kB
> slab_reclaimable:4560kB
> slab_unreclaimable:5528kB kernel_stack:1160kB pagetables:1648kB
> unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:5424
> all_unreclaimable? yes lowmem_reserve[]: 0 0 0
> DMA: 1*4kB 287*8kB 14*16kB 1*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB
> 0*2048kB 0*4096kB = 2556kB
> Normal: 773*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB
> 0*2048kB 0*4096kB = 3092kB
> 4263 total pagecache pages
> 3318 pages in swap cache
> Swap cache stats: add 100110, delete 96792, find 12476/15173
> Free swap = 0kB
> Total swap = 257004kB
> 163776 pages RAM
> 3742 pages reserved
> 833 pages shared
> 157340 pages non-shared
> ld invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0,
> oom_score_adj=0 Pid: 23785, comm: ld Not tainted 3.0.6-gentoo #1
> Call Trace:
> [<c106fb30>] ? dump_header.clone.15+0x50/0x170
> [<c1060cb3>] ? __delayacct_freepages_end+0x23/0x30
> [<c106fe29>] ? oom_kill_process.clone.18+0x59/0x240
> [<c1250f88>] ? security_real_capable_noaudit+0x38/0x60
> [<c103194c>] ? has_capability_noaudit+0xc/0x20
> [<c106fd6c>] ? oom_badness+0x8c/0xf0
> [<c107035f>] ? out_of_memory+0x22f/0x2b0
> [<c1073b54>] ? __alloc_pages_nodemask+0x6e4/0x700
> [<c106f1e3>] ? filemap_fault+0x183/0x380
> [<c106f060>] ? __lock_page_or_retry+0xb0/0xb0
> [<c1081d80>] ? __do_fault+0x40/0x400
> [<c106f060>] ? __lock_page_or_retry+0xb0/0xb0
> [<c1084161>] ? handle_pte_fault+0x81/0x5b0
> [<c1084711>] ? handle_mm_fault+0x81/0xc0
> [<c101be90>] ? do_page_fault+0x100/0x440
> [<c109832b>] ? vfs_read+0x13b/0x160
> [<c1098391>] ? sys_read+0x41/0x80
> [<c101bd90>] ? vmalloc_sync_all+0xd0/0xd0
> [<c15dfc01>] ? error_code+0x65/0x6c
> Mem-Info:
> DMA per-cpu:
> CPU 0: hi: 0, btch: 1 usd: 0
> Normal per-cpu:
> CPU 0: hi: 186, btch: 31 usd: 141
> active_anon:75982 inactive_anon:76098 isolated_anon:0
> active_file:397 inactive_file:407 isolated_file:0
> unevictable:164 dirty:0 writeback:0 unstable:0
> free:1404 slab_reclaimable:1162 slab_unreclaimable:1478
> mapped:3 shmem:1 pagetables:417 bounce:0
> DMA free:2556kB min:76kB low:92kB high:112kB active_anon:6256kB
> inactive_anon:6504kB active_file:4kB inactive_file:4kB unevictable:0kB
> isolated(anon):0kB isolated(file):0kB present:15804kB mlocked:0kB dirty:0kB
> writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:192kB
> slab_unreclaimable:92kB kernel_stack:0kB pagetables:80kB unstable:0kB
> bounce:0kB writeback_tmp:0kB pages_scanned:11 all_unreclaimable? yes
> lowmem_reserve[]: 0 618 618
> Normal free:3060kB min:3140kB low:3924kB high:4708kB active_anon:297672kB
> inactive_anon:297888kB active_file:1584kB inactive_file:1624kB
> unevictable:656kB isolated(anon):0kB isolated(file):0kB present:633792kB
> mlocked:0kB dirty:0kB writeback:0kB mapped:12kB shmem:4kB
> slab_reclaimable:4456kB
> slab_unreclaimable:5820kB kernel_stack:1144kB pagetables:1588kB
> unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:5337
> all_unreclaimable? yes lowmem_reserve[]: 0 0 0
> DMA: 1*4kB 1*8kB 21*16kB 29*32kB 10*64kB 3*128kB 1*256kB 0*512kB 0*1024kB
> 0*2048kB 0*4096kB = 2556kB
> Normal: 765*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB
> 0*2048kB 0*4096kB = 3060kB
> 3607 total pagecache pages
> 2636 pages in swap cache
> Swap cache stats: add 232678, delete 230042, find 46486/55792
> Free swap = 0kB
> Total swap = 257004kB
> 163776 pages RAM
> 3742 pages reserved
> 826 pages shared
> 157335 pages non-shared
> [ pid ] uid tgid total_vm rss cpu oom_adj oom_score_adj name
> [ 3989] 0 3989 622 22 0 -17 -1000 udevd
> [ 4257] 0 4257 621 42 0 -17 -1000 udevd
> [ 5093] 0 5093 481 7 0 0 0 ifplugd
> [ 5316] 0 5316 524 1 0 0 0 dhcpcd
> [ 5358] 0 5358 860 25 0 0 0 smartd
> [ 5359] 104 5359 693 1 0 0 0 dbus-daemon
> [ 5381] 0 5381 943 6 0 0 0 syslog-ng
> [ 5382] 0 5382 1588 63 0 0 0 syslog-ng
> [ 5429] 0 5429 1048 11 0 0 0 cron
> [ 5435] 0 5435 477 12 0 0 0 acpid
> [ 5469] 0 5469 6802 1 0 0 0
> console-kit- dae
> [ 5548] 0 5548 5719 1 0 0 0 polkitd
> [ 5599] 0 5599 825 1 0 0 0 login
> [ 5600] 0 5600 486 1 0 0 0 agetty
> [ 5601] 0 5601 486 1 0 0 0 agetty
> [ 5602] 0 5602 486 1 0 0 0 agetty
> [ 5603] 0 5603 486 1 0 0 0 agetty
> [ 5604] 0 5604 486 1 0 0 0 agetty
> [ 5613] 1000 5613 1333 1 0 0 0 bash
> [ 5621] 1000 5621 1325 61 0 0 0 screen
> [ 5622] 1000 5622 1333 1 0 0 0 bash
> [ 5628] 0 5628 1200 1 0 0 0 su
> [ 5629] 0 5629 1333 1 0 0 0 bash
> [ 5665] 0 5665 1578 1 0 -17 -1000 sshd
> [ 5705] 65534 5705 548 1 0 0 0 boa
> [ 5722] 0 5722 1099 1 0 0 0 rsync
> [ 6379] 0 6379 15005 4817 0 0 0 emerge
> [14369] 0 14369 477 1 0 0 0 sandbox
> [14370] 0 14370 1832 1 0 0 0 ebuild.sh
> [14390] 0 14390 2449 1 0 0 0 ebuild.sh
> [14408] 0 14408 974 1 0 0 0 emake
> [14413] 0 14413 734 1 0 0 0 make
> [14700] 0 14700 798 1 0 0 0 make
> [22517] 0 22517 785 43 0 0 0 make
> [23288] 0 23288 769 1 0 0 0 make
> [28925] 0 28925 871 48 0 0 0 make
> [ 6767] 0 6767 590 36 0 0 0 chronyd
> [23763] 0 23763 803 1 0 0 0 make
> [23782] 0 23782 2232 1 0 0 0 python2.7
> [23783] 0 23783 679 1 0 0 0
> i686-pc-linux- g
> [23784] 0 23784 650 1 0 0 0 collect2
> [23785] 0 23785 196182 144287 0 0 0 ld
> Out of memory: Kill process 23785 (ld) score 841 or sacrifice child
> Killed process 23785 (ld) total-vm:784728kB, anon-rss:577136kB,
> file-rss:12kB =======================================
>
> Of course this morning the firefox emerge has terminated (failed to Make)
> and swap has been freed:
>
> # free
> total used free shared buffers cached
> Mem: 640392 133084 507308 0 81360 23972
> -/+ buffers/cache: 27752 612640
> Swap: 257004 6156 250848
>
>
> This is the Firefox emerge just in case you notice something:
> =======================================
> make[5]: Leaving directory `/mnt/video/tmp_portage/portage/www-
> client/firefox-7.0.1-r1/work/mozilla-release/obj-i686-pc-linux-
> gnu/startupcache'
> make[5]: Entering directory `/mnt/video/tmp_portage/portage/www-
> client/firefox-7.0.1-r1/work/mozilla-release/obj-i686-pc-linux-
> gnu/toolkit/library'
> nsStaticXULComponents.cpp
> i686-pc-linux-gnu-g++ -o nsStaticXULComponents.o -c
> -I../../dist/stl_wrappers -I../../dist/system_wrappers -include
> /mnt/video/tmp_portage/portage/www-
> client/firefox-7.0.1-r1/work/mozilla-release/config/gcc_hidden.h -
> DMOZ_ENABLE_GTK2 -DMOZ_JSDEBUGGER -DMOZ_PREF_EXTENSIONS
> -DMOZ_AUTH_EXTENSION - DMOZ_PERMISSIONS -DMOZ_UNIVERSALCHARDET
> -DMOZ_FILEVIEW -DICON_DECODER - DMOZ_SPELLCHECK -DMOZ_ZIPWRITER
> -DIMPL_XREAPI -DMOZILLA_INTERNAL_API - DOSTYPE="Linux3.0" -DOSARCH=Linux
> -D_IMPL_NS_COM -D_IMPL_NS_STRINGAPI - DEXPORT_XPT_API -DEXPORT_XPTC_API
> -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -
> I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
> release/intl/unicharutil/util -I/mnt/video/tmp_portage/portage/www-
> client/firefox-7.0.1-r1/work/mozilla-release/intl/unicharutil/src -
> I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
> release/config -I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-
> r1/work/mozilla-release/widget/src/windows -
> I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
> release/widget/src/build -I/mnt/video/tmp_portage/portage/www-
> client/firefox-7.0.1-r1/work/mozilla-release/toolkit/library -I. -
> I../../dist/include -I../../dist/include/nsprpub -I/usr/include/nspr -
> I/usr/include/nss -fPIC -fno-rtti -fno-exceptions -Wall
> -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
> -Wno-non-virtual-dtor - Wcast-align -Wno-invalid-offsetof
> -Wno-variadic-macros -Werror=return-type - march=pentium3 -pipe -mno-avx
> -ffunction-sections -fdata-sections -fno-strict- aliasing -std=gnu++0x
> -pthread -pipe -DNDEBUG -DTRIMMED -g -O2 - DMOZILLA_CLIENT -include
> ../../mozilla-config.h -MD -MF
> .deps/nsStaticXULComponents.pp /mnt/video/tmp_portage/portage/www-
> client/firefox-7.0.1-r1/work/mozilla-
> release/toolkit/library/nsStaticXULComponents.cpp
> nsUnicharUtils.cpp
> i686-pc-linux-gnu-g++ -o nsUnicharUtils.o -c -I../../dist/stl_wrappers -
> I../../dist/system_wrappers -include /mnt/video/tmp_portage/portage/www-
> client/firefox-7.0.1-r1/work/mozilla-release/config/gcc_hidden.h -
> DMOZ_ENABLE_GTK2 -DMOZ_JSDEBUGGER -DMOZ_PREF_EXTENSIONS
> -DMOZ_AUTH_EXTENSION - DMOZ_PERMISSIONS -DMOZ_UNIVERSALCHARDET
> -DMOZ_FILEVIEW -DICON_DECODER - DMOZ_SPELLCHECK -DMOZ_ZIPWRITER
> -DIMPL_XREAPI -DMOZILLA_INTERNAL_API - DOSTYPE="Linux3.0" -DOSARCH=Linux
> -D_IMPL_NS_COM -D_IMPL_NS_STRINGAPI - DEXPORT_XPT_API -DEXPORT_XPTC_API
> -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -
> I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
> release/intl/unicharutil/util -I/mnt/video/tmp_portage/portage/www-
> client/firefox-7.0.1-r1/work/mozilla-release/intl/unicharutil/src -
> I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
> release/config -I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-
> r1/work/mozilla-release/widget/src/windows -
> I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
> release/widget/src/build -I/mnt/video/tmp_portage/portage/www-
> client/firefox-7.0.1-r1/work/mozilla-release/toolkit/library -I. -
> I../../dist/include -I../../dist/include/nsprpub -I/usr/include/nspr -
> I/usr/include/nss -fPIC -fno-rtti -fno-exceptions -Wall
> -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
> -Wno-non-virtual-dtor - Wcast-align -Wno-invalid-offsetof
> -Wno-variadic-macros -Werror=return-type - march=pentium3 -pipe -mno-avx
> -ffunction-sections -fdata-sections -fno-strict- aliasing -std=gnu++0x
> -pthread -pipe -DNDEBUG -DTRIMMED -g -O2 - DMOZILLA_CLIENT -include
> ../../mozilla-config.h -MD -MF .deps/nsUnicharUtils.pp
> /mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
> release/obj-i686-pc-linux-gnu/toolkit/library/nsUnicharUtils.cpp
> nsBidiUtils.cpp
> i686-pc-linux-gnu-g++ -o nsBidiUtils.o -c -I../../dist/stl_wrappers -
> I../../dist/system_wrappers -include /mnt/video/tmp_portage/portage/www-
> client/firefox-7.0.1-r1/work/mozilla-release/config/gcc_hidden.h -
> DMOZ_ENABLE_GTK2 -DMOZ_JSDEBUGGER -DMOZ_PREF_EXTENSIONS
> -DMOZ_AUTH_EXTENSION - DMOZ_PERMISSIONS -DMOZ_UNIVERSALCHARDET
> -DMOZ_FILEVIEW -DICON_DECODER - DMOZ_SPELLCHECK -DMOZ_ZIPWRITER
> -DIMPL_XREAPI -DMOZILLA_INTERNAL_API - DOSTYPE="Linux3.0" -DOSARCH=Linux
> -D_IMPL_NS_COM -D_IMPL_NS_STRINGAPI - DEXPORT_XPT_API -DEXPORT_XPTC_API
> -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -
> I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
> release/intl/unicharutil/util -I/mnt/video/tmp_portage/portage/www-
> client/firefox-7.0.1-r1/work/mozilla-release/intl/unicharutil/src -
> I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
> release/config -I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-
> r1/work/mozilla-release/widget/src/windows -
> I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
> release/widget/src/build -I/mnt/video/tmp_portage/portage/www-
> client/firefox-7.0.1-r1/work/mozilla-release/toolkit/library -I. -
> I../../dist/include -I../../dist/include/nsprpub -I/usr/include/nspr -
> I/usr/include/nss -fPIC -fno-rtti -fno-exceptions -Wall
> -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
> -Wno-non-virtual-dtor - Wcast-align -Wno-invalid-offsetof
> -Wno-variadic-macros -Werror=return-type - march=pentium3 -pipe -mno-avx
> -ffunction-sections -fdata-sections -fno-strict- aliasing -std=gnu++0x
> -pthread -pipe -DNDEBUG -DTRIMMED -g -O2 - DMOZILLA_CLIENT -include
> ../../mozilla-config.h -MD -MF .deps/nsBidiUtils.pp
> /mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
> release/obj-i686-pc-linux-gnu/toolkit/library/nsBidiUtils.cpp
> nsRDFResource.cpp
> i686-pc-linux-gnu-g++ -o nsRDFResource.o -c -I../../dist/stl_wrappers -
> I../../dist/system_wrappers -include /mnt/video/tmp_portage/portage/www-
> client/firefox-7.0.1-r1/work/mozilla-release/config/gcc_hidden.h -
> DMOZ_ENABLE_GTK2 -DMOZ_JSDEBUGGER -DMOZ_PREF_EXTENSIONS
> -DMOZ_AUTH_EXTENSION - DMOZ_PERMISSIONS -DMOZ_UNIVERSALCHARDET
> -DMOZ_FILEVIEW -DICON_DECODER - DMOZ_SPELLCHECK -DMOZ_ZIPWRITER
> -DIMPL_XREAPI -DMOZILLA_INTERNAL_API - DOSTYPE="Linux3.0" -DOSARCH=Linux
> -D_IMPL_NS_COM -D_IMPL_NS_STRINGAPI - DEXPORT_XPT_API -DEXPORT_XPTC_API
> -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -
> I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
> release/intl/unicharutil/util -I/mnt/video/tmp_portage/portage/www-
> client/firefox-7.0.1-r1/work/mozilla-release/intl/unicharutil/src -
> I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
> release/config -I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-
> r1/work/mozilla-release/widget/src/windows -
> I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
> release/widget/src/build -I/mnt/video/tmp_portage/portage/www-
> client/firefox-7.0.1-r1/work/mozilla-release/toolkit/library -I. -
> I../../dist/include -I../../dist/include/nsprpub -I/usr/include/nspr -
> I/usr/include/nss -fPIC -fno-rtti -fno-exceptions -Wall
> -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
> -Wno-non-virtual-dtor - Wcast-align -Wno-invalid-offsetof
> -Wno-variadic-macros -Werror=return-type - march=pentium3 -pipe -mno-avx
> -ffunction-sections -fdata-sections -fno-strict- aliasing -std=gnu++0x
> -pthread -pipe -DNDEBUG -DTRIMMED -g -O2 - DMOZILLA_CLIENT -include
> ../../mozilla-config.h -MD -MF .deps/nsRDFResource.pp
> /mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
> release/obj-i686-pc-linux-gnu/toolkit/library/nsRDFResource.cpp
> /mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
> release/obj-i686-pc-linux-gnu/config/nsinstall -D ../../dist/sdk/lib
> rm -f libxul.so
> /usr/bin/python2.7 /mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-
> r1/work/mozilla-release/config/pythonpath.py -I../../config
> /mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
> release/config/expandlibs_exec.py --uselist -- i686-pc-linux-gnu-g++
> -fno- rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual
> -Wsynth -Wno- ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align
> -Wno-invalid-offsetof - Wno-variadic-macros -Werror=return-type
> -march=pentium3 -pipe -mno-avx - ffunction-sections -fdata-sections
> -fno-strict-aliasing -std=gnu++0x -pthread - pipe -DNDEBUG -DTRIMMED -g
> -O2 -fPIC -shared -Wl,-z,defs -Wl,--gc-sections - Wl,-h,libxul.so -o
> libxul.so nsStaticXULComponents.o nsUnicharUtils.o nsBidiUtils.o
> nsRDFResource.o -lpthread -Wl,-O1 -Wl,--as-needed -Wl,-
> rpath-link,/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-
> r1/work/mozilla-release/obj-i686-pc-linux-gnu/dist/bin -Wl,-rpath-
> link,/usr/lib ../../toolkit/xre/libxulapp_s.a
> ../../staticlib/components/libnecko.a ../../staticlib/components/libuconv.a
> ../../staticlib/components/libi18n.a
> ../../staticlib/components/libchardet.a
> ../../staticlib/components/libjar50.a
> ../../staticlib/components/libstartupcache.a
> ../../staticlib/components/libpref.a
> ../../staticlib/components/libhtmlpars.a
> ../../staticlib/components/libimglib2.a
> ../../staticlib/components/libgkgfx.a
> ../../staticlib/components/libgklayout.a
> ../../staticlib/components/libdocshell.a
> ../../staticlib/components/libembedcomponents.a
> ../../staticlib/components/libwebbrwsr.a
> ../../staticlib/components/libnsappshell.a
> ../../staticlib/components/libtxmgr.a
> ../../staticlib/components/libcommandlines.a
> ../../staticlib/components/libtoolkitcomps.a
> ../../staticlib/components/libpipboot.a
> ../../staticlib/components/libpipnss.a
> ../../staticlib/components/libappcomps.a
> ../../staticlib/components/libjsreflect.a
> ../../staticlib/components/libcomposer.a
> ../../staticlib/components/libjetpack_s.a
> ../../staticlib/components/libtelemetry.a
> ../../staticlib/components/libjsctypes.a
> ../../staticlib/components/libjsperf.a
> ../../staticlib/components/libgkplugin.a
> ../../staticlib/components/libunixproxy.a
> ../../staticlib/components/libjsd.a
> ../../staticlib/components/libautoconfig.a
> ../../staticlib/components/libauth.a
> ../../staticlib/components/libcookie.a
> ../../staticlib/components/libpermissions.a
> ../../staticlib/components/libuniversalchardet.a
> ../../staticlib/components/librdf.a
> ../../staticlib/components/libwindowds.a
> ../../staticlib/components/libfileview.a
> ../../staticlib/components/libstoragecomps.a
> ../../staticlib/components/libplaces.a
> ../../staticlib/components/libtkautocomplete.a
> ../../staticlib/components/libsatchel.a
> ../../staticlib/components/libpippki.a
> ../../staticlib/components/libwidget_gtk2.a
> ../../staticlib/components/libsystem-pref.a
> ../../staticlib/components/libimgicon.a
> ../../staticlib/components/libaccessibility.a
> ../../staticlib/components/libremoteservice.a
> ../../staticlib/components/libspellchecker.a
> ../../staticlib/components/libzipwriter.a
> ../../staticlib/components/libservices-crypto.a
> ../../staticlib/libjsipc_s.a ../../staticlib/libdomipc_s.a
> ../../staticlib/libdomplugins_s.a
> ../../staticlib/libmozipc_s.a ../../staticlib/libmozipdlgen_s.a
> ../../staticlib/libipcshell_s.a ../../staticlib/libgfx2d.a
> ../../staticlib/libgfxipc_s.a ../../staticlib/libxpcom_core.a
> ../../staticlib/libucvutil_s.a ../../staticlib/libchromium_s.a
> ../../staticlib/libmozreg_s.a ../../staticlib/libgtkxtbin.a
> ../../staticlib/libthebes.a ../../staticlib/libycbcr.a
> ../../staticlib/libangle.a ../../dist/lib/libmozsqlite3.a -L../../dist/bin
> - L../../dist/lib -ljpeg -lpng ../../gfx/qcms/libmozqcms.a
> /mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
> release/obj-i686-pc-linux-gnu/dist/lib/libjs_static.a -lffi
> -Wl,-R/usr/lib - L/usr/lib -lssl3 -lsmime3 -lnss3 -lnssutil3 -lcrmf
> -lcairo -lpixman-1 - lfreetype -lfontconfig -L/usr/lib -lXrender
> -lcairo -lX11
> ../../gfx/harfbuzz/src/libmozharfbuzz.a ../../gfx/ots/src/libmozots.a -lz
> - lhunspell-1.3 -L/usr/lib -levent -L/usr/lib -lvpx -lasound -
> L../../dist/bin -L../../dist/lib -Wl,-R/usr/lib -L/usr/lib -lplds4 -lplc4
> - lnspr4 -lpthread -ldl ../../dist/lib/libmozalloc.a -ldbus-1 -lpthread
> -lrt - L/usr/lib -lX11 -lXext -pthread -lpangoft2-1.0 -lfreetype
> -lfontconfig - lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0
> -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -lgtk-x11-2.0
> -latk-1.0 -lgio-2.0 -lpangoft2-1.0 - lfreetype -lfontconfig -lgdk-x11-2.0
> -lpangocairo-1.0 -lgdk_pixbuf-2.0 - lpango-1.0 -lcairo -lgmodule-2.0
> -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lXt -lgthread-2.0 -lfreetype
> -lz -lbz2 -lstartup-notification-1 -ldl -lrt collect2: ld terminated
> with signal 9 [Killed]
> make[5]: *** [libxul.so] Error 1
> make[5]: Leaving directory `/mnt/video/tmp_portage/portage/www-
> client/firefox-7.0.1-r1/work/mozilla-release/obj-i686-pc-linux-
> gnu/toolkit/library'
> make[4]: *** [libs_tier_platform] Error 2
> make[4]: Leaving directory `/mnt/video/tmp_portage/portage/www-
> client/firefox-7.0.1-r1/work/mozilla-release/obj-i686-pc-linux-gnu'
> make[3]: *** [tier_platform] Error 2
> make[3]: Leaving directory `/mnt/video/tmp_portage/portage/www-
> client/firefox-7.0.1-r1/work/mozilla-release/obj-i686-pc-linux-gnu'
> make[2]: *** [default] Error 2
> make[2]: Leaving directory `/mnt/video/tmp_portage/portage/www-
> client/firefox-7.0.1-r1/work/mozilla-release/obj-i686-pc-linux-gnu'
> make[1]: *** [realbuild] Error 2
> make[1]: Leaving directory `/mnt/video/tmp_portage/portage/www-
> client/firefox-7.0.1-r1/work/mozilla-release'
> make: *** [build] Error 2
> emake failed
> * ERROR: www-client/firefox-7.0.1-r1 failed (compile phase):
> * emake failed
> *
> * Call stack:
> * ebuild.sh, line 56: Called src_compile
> * environment, line 6699: Called die
> * The specific snippet of code:
> * CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)"
> MOZ_MAKE_FLAGS="${MAKEOPTS}" emake -f client.mk || die "emake failed";
> =======================================
>
> I also attach the kernel kernel .config file just in case I've built
> something I shouldn't have in this kernel.

I've changed the title ever so slightly. I am getting an out of memory error
with kernel-2.6.39-gentoo-r3 too, so I can't blame it on the kernel.

The error as far as firefox is concerned is the same. Is this a firefox bug, or
is my decrepit old laptop incapable of compiling Firefox ...

Am I the only one suffering from this?
--
Regards,
Mick
 
Old 11-19-2011, 08:13 AM
Nikos Chantziaras
 
Default Out of memory error

On 11/18/2011 07:42 PM, Mick wrote:

I've changed the title ever so slightly. I am getting an out of memory error
with kernel-2.6.39-gentoo-r3 too, so I can't blame it on the kernel.

The error as far as firefox is concerned is the same. Is this a firefox bug, or
is my decrepit old laptop incapable of compiling Firefox ...

Am I the only one suffering from this?


How much RAM do you have? How big if your swap?
 
Old 11-19-2011, 10:29 AM
Mick
 
Default Out of memory error

On Saturday 19 Nov 2011 09:13:33 Nikos Chantziaras wrote:
> On 11/18/2011 07:42 PM, Mick wrote:
> > I've changed the title ever so slightly. I am getting an out of memory
> > error with kernel-2.6.39-gentoo-r3 too, so I can't blame it on the
> > kernel.
> >
> > The error as far as firefox is concerned is the same. Is this a firefox
> > bug, or is my decrepit old laptop incapable of compiling Firefox ...
> >
> > Am I the only one suffering from this?
>
> How much RAM do you have? How big if your swap?


# free
total used free shared buffers cached
Mem: 640392 133084 507308 0 81360 23972
-/+ buffers/cache: 27752 612640
Swap: 257004 6156 250848

May not be much by today's standards, but I never had an out of memory error
that I can recall just compiling packages in the past.

--
Regards,
Mick
 
Old 11-19-2011, 11:25 AM
Michael Mol
 
Default Out of memory error

On Nov 19, 2011 6:31 AM, "Mick" <michaelkintzios@gmail.com> wrote:

>

> On Saturday 19 Nov 2011 09:13:33 Nikos Chantziaras wrote:

> > On 11/18/2011 07:42 PM, Mick wrote:

> > > I've changed the title ever so slightly. *I am getting an out of memory

> > > error with kernel-2.6.39-gentoo-r3 too, so I can't blame it on the

> > > kernel.

> > >

> > > The error as far as firefox is concerned is the same. *Is this a firefox

> > > bug, or is my decrepit old laptop incapable of compiling Firefox ...

> > >

> > > Am I the only one suffering from this?

> >

> > How much RAM do you have? *How big if your swap?

>

>

> # free

> * * * * * * total * * * used * * * free * * shared * *buffers * * cached

> Mem: * * * *640392 * * 133084 * * 507308 * * * * *0 * * *81360 * * *23972

> -/+ buffers/cache: * * *27752 * * 612640

> Swap: * * * 257004 * * * 6156 * * 250848

>

> May not be much by today's standards, but I never had an out of memory error

> that I can recall just compiling packages in the past.


You've never compiled OOo or chromium on that box, have you? Chromium alone takes 4GB on my box at the final link step.


Have you changed your CFLAGS since the last time you succesfully built FF? Is -g new? Consider switching to -Os; it won't solve the immediate problem, but it may help reduce overall system pressure by keeping binaries smaller. Also look at adding "splitdebug" to FEATURES. Perhaps adding 2-3GB of swap.



What about any new or larger apps consuming system RAM? What does free -m show before your emerge?


And, finally, yeah..that isn't just "not much", that's a terribly small amount of memory. Assuming you've kept the software current, some of your applications have certainly not been maintained with 600MB of system memory in mind.


*
 
Old 11-19-2011, 11:42 AM
Nikos Chantziaras
 
Default Out of memory error

On 11/19/2011 01:29 PM, Mick wrote:

On Saturday 19 Nov 2011 09:13:33 Nikos Chantziaras wrote:

On 11/18/2011 07:42 PM, Mick wrote:

I've changed the title ever so slightly. I am getting an out of memory
error with kernel-2.6.39-gentoo-r3 too, so I can't blame it on the
kernel.

The error as far as firefox is concerned is the same. Is this a firefox
bug, or is my decrepit old laptop incapable of compiling Firefox ...

Am I the only one suffering from this?


How much RAM do you have? How big if your swap?



# free
total used free shared buffers cached
Mem: 640392 133084 507308 0 81360 23972
-/+ buffers/cache: 27752 612640
Swap: 257004 6156 250848

May not be much by today's standards, but I never had an out of memory error
that I can recall just compiling packages in the past.


You have 640MB RAM and 256MB swap. That isn't nearly enough to compile
big packages nowadays.


You can try to increase your swap partition from 256MB to 3GB. However,
hitting the swap during a compile is going to strangle your system. To
maximize available RAM, logout of the desktop first, then shutdown the
graphical environment entirely:


/etc/init.d/xdm stop

and then compile. Start the desktop again after that:

/etc/init.d/xdm start

Modern versions of GCC and binutils are quite memory hungry, so your
only real option is to add more RAM. You should have at least 2GB of it
these days for a Gentoo system.
 
Old 11-19-2011, 12:08 PM
Pandu Poluan
 
Default Out of memory error

On Nov 19, 2011 7:28 PM, "Michael Mol" <mikemol@gmail.com> wrote:


----- >8 snip


> And, finally, yeah..that isn't just "not much", that's a terribly small amount of memory. Assuming you've kept the software current, some of your applications have certainly not been maintained with 600MB of system memory in mind.


> *


Indeed. With less than 800MB, gcc fails to upgrade. Always. For some RAM-constrained systems (e.g. the VMs in my company's cloud), I even have to do an "out-of-the-box" upgrade, i.e., upgrade an identical copy on the physical data center, grab the binpkg tarball, and upload the tarball to the cloud.



Rgds,
 
Old 11-19-2011, 02:57 PM
Volker Armin Hemmann
 
Default Out of memory error

Am Samstag 19 November 2011, 14:42:07 schrieb Nikos Chantziaras:
> On 11/19/2011 01:29 PM, Mick wrote:
> > On Saturday 19 Nov 2011 09:13:33 Nikos Chantziaras wrote:
> >> On 11/18/2011 07:42 PM, Mick wrote:
> >>> I've changed the title ever so slightly. I am getting an out of
> >>> memory
> >>> error with kernel-2.6.39-gentoo-r3 too, so I can't blame it on the
> >>> kernel.
> >>>
> >>> The error as far as firefox is concerned is the same. Is this a
> >>> firefox bug, or is my decrepit old laptop incapable of compiling
> >>> Firefox ...
> >>>
> >>> Am I the only one suffering from this?
> >>
> >> How much RAM do you have? How big if your swap?
> >
> > # free
> >
> > total used free shared
> > buffers cached>
> > Mem: 640392 133084 507308 0 81360
> > 23972
> > -/+ buffers/cache: 27752 612640
> > Swap: 257004 6156 250848
> >
> > May not be much by today's standards, but I never had an out of memory
> > error that I can recall just compiling packages in the past.
>
> You have 640MB RAM and 256MB swap. That isn't nearly enough to compile
> big packages nowadays.
>
> You can try to increase your swap partition from 256MB to 3GB. However,
> hitting the swap during a compile is going to strangle your system. To
> maximize available RAM, logout of the desktop first, then shutdown the
> graphical environment entirely:
>
> /etc/init.d/xdm stop
>
> and then compile. Start the desktop again after that:
>
> /etc/init.d/xdm start
>
> Modern versions of GCC and binutils are quite memory hungry, so your
> only real option is to add more RAM. You should have at least 2GB of it
> these days for a Gentoo system.

makeopts -j1 helps too.

--
#163933
 
Old 11-19-2011, 04:04 PM
Mick
 
Default Out of memory error

On Saturday 19 Nov 2011 15:57:58 Volker Armin Hemmann wrote:
> Am Samstag 19 November 2011, 14:42:07 schrieb Nikos Chantziaras:
> > On 11/19/2011 01:29 PM, Mick wrote:
> > > On Saturday 19 Nov 2011 09:13:33 Nikos Chantziaras wrote:
> > >> On 11/18/2011 07:42 PM, Mick wrote:
> > >>> I've changed the title ever so slightly. I am getting an out of
> > >>> memory
> > >>> error with kernel-2.6.39-gentoo-r3 too, so I can't blame it on the
> > >>> kernel.
> > >>>
> > >>> The error as far as firefox is concerned is the same. Is this a
> > >>> firefox bug, or is my decrepit old laptop incapable of compiling
> > >>> Firefox ...
> > >>>
> > >>> Am I the only one suffering from this?
> > >>
> > >> How much RAM do you have? How big if your swap?
> > >
> > > # free
> > >
> > > total used free shared
> > > buffers cached>
> > >
> > > Mem: 640392 133084 507308 0 81360
> > > 23972
> > > -/+ buffers/cache: 27752 612640
> > > Swap: 257004 6156 250848
> > >
> > > May not be much by today's standards, but I never had an out of memory
> > > error that I can recall just compiling packages in the past.
> >
> > You have 640MB RAM and 256MB swap. That isn't nearly enough to compile
> > big packages nowadays.
> >
> > You can try to increase your swap partition from 256MB to 3GB. However,
> > hitting the swap during a compile is going to strangle your system. To
> > maximize available RAM, logout of the desktop first, then shutdown the
> >
> > graphical environment entirely:
> > /etc/init.d/xdm stop
> >
> > and then compile. Start the desktop again after that:
> > /etc/init.d/xdm start
> >
> > Modern versions of GCC and binutils are quite memory hungry, so your
> > only real option is to add more RAM. You should have at least 2GB of it
> > these days for a Gentoo system.
>
> makeopts -j1 helps too.

Thanks guys.

From your comments it seems that it's been touch & go so far. This is an old
PIII laptop which I have been keeping up to date without any problems until
now. OOo was never emerged on this machine, I have always used ooo-bin. I
did emerge chromium though (early versions) and have not had problems with
gcc.

Perhaps the latest Firefox broke its back. Will try again to emerge it with -
j1 and see if it makes a difference or if that fails I will add a swap file to
give it some breathing space.
--
Regards,
Mick
 
Old 11-19-2011, 04:37 PM
Hans Müller
 
Default Out of memory error

On Saturday, 19. November 2011 20:08:36 Pandu Poluan wrote:
> > On Nov 19, 2011 7:28 PM, "Michael Mol" <mikemol@gmail.com> wrote:
> > And, finally, yeah..that isn't just "not much", that's a terribly small
> > amount of memory. Assuming you've kept the software current, some of your
> > applications have certainly not been maintained with 600MB of system
> > memory in mind.
>
> Indeed. With less than 800MB, gcc fails to upgrade. Always. For some
> RAM-constrained systems (e.g. the VMs in my company's cloud), I even have
> to do an "out-of-the-box" upgrade, i.e., upgrade an identical copy on the
> physical data center, grab the binpkg tarball, and upload the tarball to
> the cloud.

If you provide enough swap this shouldn't be an issue.
I have a box running Xen dom0 with 680MB RAM and 1.5GB swap and it compiles
everything fine so far.
Of course I didn't emerge firefox, libreoffice or similar packages on this
system, but at least for gcc this is fine.

Best regards
 
Old 11-20-2011, 05:48 PM
Mick
 
Default Out of memory error

On Saturday 19 Nov 2011 17:37:59 Hans Müller wrote:
> On Saturday, 19. November 2011 20:08:36 Pandu Poluan wrote:
> > > On Nov 19, 2011 7:28 PM, "Michael Mol" <mikemol@gmail.com> wrote:
> > > And, finally, yeah..that isn't just "not much", that's a terribly small
> > > amount of memory. Assuming you've kept the software current, some of
> > > your applications have certainly not been maintained with 600MB of
> > > system memory in mind.
> >
> > Indeed. With less than 800MB, gcc fails to upgrade. Always. For some
> > RAM-constrained systems (e.g. the VMs in my company's cloud), I even have
> > to do an "out-of-the-box" upgrade, i.e., upgrade an identical copy on the
> > physical data center, grab the binpkg tarball, and upload the tarball to
> > the cloud.
>
> If you provide enough swap this shouldn't be an issue.
> I have a box running Xen dom0 with 680MB RAM and 1.5GB swap and it compiles
> everything fine so far.
> Of course I didn't emerge firefox, libreoffice or similar packages on this
> system, but at least for gcc this is fine.
>
> Best regards

Thanks again for all the advice received. I've added a few swap files to bring
swap up to 1206984k and libxul.so was finally built and installed without
bringing the machine to its knees. :-)

It seems that with time applications are getting bigger than what they used to
be.
--
Regards,
Mick
 

Thread Tools




All times are GMT. The time now is 01:10 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org