[SOLVED] Virtual Memory Exhausted with unused 16g Swap Partition.

Hello all, long time reader, first time poster. So basically what I'm running into is that I'm having Virtual Memory Exhausted errors with various programs even though I have a 16g swap partition mounted. I've manually enabled it to try it as well. Here's some outputs to give you an idea of how my system is set up. It's a UEFI fresh install, only a couple days old.
fstab:
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
# /dev/sdb3
UUID=ea7a0311-6314-4215-b98d-7360552b28c4 / ext4 rw,relatime,data=ordered 0 1
# /dev/sdc3
UUID=8f6f2006-3a9c-4563-a149-547d758e2af1 /home ext4 rw,relatime,data=ordered 0 2
# /dev/sdb2
UUID=baf1ba80-ddf3-4cbb-a13e-b81a0af0a9e7 /boot ext4 rw,relatime,data=ordered 0 2
# /dev/sdb1
UUID=2B46-5340 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
# /dev/sdc1
UUID=4336d783-c289-4fbf-8c59-f1a1da782130 /var ext4 rw,relatime,data=ordered 0 2
# /dev/sdc2
UUID=96a60f08-a57f-42f1-80ff-846d02a29199 /var/log ext4 rw,relatime,data=ordered 0 2
# /dev/sda2
UUID=c5d5879a-b0e8-4976-8057-2f95975a1251 /share ext4 rw,relatime,data=ordered 0 2
# /dev/sdb4
UUID=6e6277c4-a69a-4838-83cd-c206959acf0e /store ext4 rw,relatime,data=ordered 0 2
#swap
UUID=21a56b10-85e5-48a1-91e5-995eae0dfba4 none swap defaults 0 0
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 16G 0 part [SWAP]
└─sda2 8:2 0 915.5G 0 part /share
sdb 8:16 0 931.5G 0 disk
├─sdb1 8:17 0 1G 0 part /boot/efi
├─sdb2 8:18 0 1G 0 part /boot
├─sdb3 8:19 0 50G 0 part /
└─sdb4 8:20 0 879.5G 0 part /store
sdc 8:32 0 931.5G 0 disk
├─sdc1 8:33 0 20G 0 part /var
├─sdc2 8:34 0 2G 0 part /var/log
└─sdc3 8:35 0 909.5G 0 part /home
sr0 11:0 1 1024M 0 rom
cat /proc/meminfo
MemTotal: 12256600 kB
MemFree: 9926584 kB
Buffers: 212588 kB
Cached: 774636 kB
SwapCached: 0 kB
Active: 1179860 kB
Inactive: 638584 kB
Active(anon): 831604 kB
Inactive(anon): 14480 kB
Active(file): 348256 kB
Inactive(file): 624104 kB
Unevictable: 4 kB
Mlocked: 4 kB
SwapTotal: 16777212 kB
SwapFree: 16777212 kB
Dirty: 32 kB
Writeback: 0 kB
AnonPages: 831320 kB
Mapped: 196008 kB
Shmem: 14892 kB
Slab: 345008 kB
SReclaimable: 316620 kB
SUnreclaim: 28388 kB
KernelStack: 2616 kB
PageTables: 27032 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 22905512 kB
Committed_AS: 3365808 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 357936 kB
VmallocChunk: 34359373819 kB
HardwareCorrupted: 0 kB
AnonHugePages: 86016 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 117756 kB
DirectMap2M: 4059136 kB
DirectMap1G: 8388608 kB
swapon -s
Filename Type Size Used Priority
/dev/sda1 partition 16777212 0 -1
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 20
file size (blocks, -f) unlimited
pending signals (-i) 94832
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 94832
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
I did just notice that it's showing 4gb less RAM than there should be (12 instead of 16, I'll be checking into that about the same time I hit submit) but as far as I can tell the system shouldn't even be worried about swap 99.99% of the time. Any ideas?
Edit: On reboot system show the full 16gb of RAM.
Last edited by inquisitorthreefive (2012-11-19 07:44:32)

inquisitorthreefive wrote:
I did just notice that it's showing 4gb less RAM than there should be (12 instead of 16, I'll be checking into that about the same time I hit submit) but as far as I can tell the system shouldn't even be worried about swap 99.99% of the time. Any ideas?
Edit: On reboot system show the full 16gb of RAM.
Could it be a hardware problem with RAM? Is there a 4 GB RAM chip in the machine that may have failed?

Similar Messages

  • Virtual memory exhausted when compiling packages from AUR

    Recently I've seen this error more and more often. When I tried compiling some packages from AUR, I ended up getting "virtual memory exhausted" error. The first time it happened with clementine-git, then android-studio. Can I do something about it?

    I am also facing the same problem.  I am trying to install a package, and the installations aborts saying 'virtual memory exhausted'. The RAM is 2 GB and i have alloted 2 GB as swap.  Things i have tried so far
    -install  using yaourt
    -install using  makepkg.
    -change  TMPDIR to HDD.
    Even when i tried it without any window manager to start, limiting the RAM usage, the problem still persists. The only way is to allot an extra swap space, but that would mean that i will have to delete a partition, which is not a feasible solution. Is there anything else one could do. ?
    if it helps,
    ulimit -a
    core file size          (blocks, -c) 0
    data seg size           (kbytes, -d) unlimited
    scheduling priority             (-e) 20
    file size               (blocks, -f) unlimited
    pending signals                 (-i) 16033
    max locked memory       (kbytes, -l) 64
    max memory size         (kbytes, -m) unlimited
    open files                      (-n) 1024
    pipe size            (512 bytes, -p) 8
    POSIX message queues     (bytes, -q) 819200
    real-time priority              (-r) 0
    stack size              (kbytes, -s) 8192
    cpu time               (seconds, -t) unlimited
    max user processes              (-u) 16033
    virtual memory          (kbytes, -v) unlimited
    file locks                      (-x) unlimited

  • Virtual Memory Exhausted

    Hi its me again....
    I�m trying to install the latest version of PHP but when I try to compile the following error appears:
    -bash-3.00# gmake
    /bin/sh /build/php-5.2.3/libtool silent preserve-dup-deps --mode=compile gcc  -IZend/ -I/build/php-5.2.3/Zend/ -DPHP_ATOM_INC -I/build/php-5.2.3/include -I/build/php-5.2.3/main -I/build/php-5.2.3 -I/usr/local/include/libxml2 -I/build/php-5.2.3/ext/date/lib -I/usr/sfw/include/mysql -I/build/php-5.2.3/TSRM -I/build/php-5.2.3/Zend  -D_POSIX_PTHREAD_SEMANTICS  -I/usr/include -g -O2   -c /build/php-5.2.3/Zend/zend_execute.c -o Zend/zend_execute.lo
    virtual memory exhausted: Resource temporarily Unavailable
    gmake: *** [Zend/zend_execute.lo] Error 1
    What do I need to increase this virtual memory or the amount each process can use... ???
    Thank you

    Check the user's session limits and the real swap space usage:
    [SunOS 5.10/bash] [email protected]:/export/home/p661210
    $ swap -l
    swapfile             dev  swaplo blocks   free
    /dev/md/dsk/d20     85,20     16 2097392 2097392
    [SunOS 5.10/bash] [email protected]:/export/home/p661210
    $ ulimit -a
    core file size        (blocks, -c) unlimited
    data seg size         (kbytes, -d) unlimited
    file size             (blocks, -f) unlimited
    open files                    (-n) 256
    pipe size          (512 bytes, -p) 10
    stack size            (kbytes, -s) 8192
    cpu time             (seconds, -t) unlimited
    max user processes            (-u) 16165
    virtual memory        (kbytes, -v) unlimitedCheers,
    Andreas

  • Virtual memory exhaustion when idle

    Everytime I leave my laptop for a long period of time (couple of hours) and then come back I get the popup that windows ran out of memory. 
    So I tried to look into event viewer and here is what I see ( http://goo.gl/TLpkV6 ) //Sorry I'm not allowed to post pictures for whatever reason
    The event details display those values:
    SystemCommitLimit 34 235 564 032
    SystemCommitCharge 34 088 890 368
    ProcessCommitCharge 4 058 849 280
    PagedPoolUsage 438 538 240
    PhysicalMemorySize 8 465 760 256
    PhysicalMemoryUsage 4 248 018 944
    NonPagedPoolUsage 183 934 976
    Processes 129
    I have the default Pagefile size (maintained by system) and it looks like something is using it all even though the physical memory has still about 50% free space
    So I tried to attach a task to this event and I used PsList to dump all the processes when this event occurs. However I didn't find anything abnormal in the log.
    Here it is:
    Process memory detail for MARTIN:
    Name Pid VM WS Priv Priv Pk Faults NonP Page
    Idle 0 64 24 0 0 1 0 0
    System 4 44948 2380 21108 228560 8444074 0 0
    smss 344 4288 376 284 352 1272 2 12
    csrss 488 53624 2636 2588 2824 54974 15 161
    wininit 552 41132 908 1184 1488 8246 7 96
    services 608 27584 5424 4356 4992 366546 9 118
    lsass 616 59556 13156 10120 10364 357942 22 150
    svchost 696 88640 14252 11896 32748 466830 23 716
    svchost 740 55916 9788 9416 9708 1381645 20 134
    DpHostW 908 613672 20828 44632 48784 362592 58 334
    svchost 944 234420 45628 118704 127504 1211691 34 240
    svchost 976 4194303 133876 138580 650168 26413408 51 288
    svchost 508 539936 323232 321124 401704 14494875 68 763
    svchost 764 119072 17068 16124 17808 245309 42 225
    stacsv64 1100 73788 4904 6732 6820 80241 13 139
    L4301_Solar 1228 53316 1608 1604 1736 5520 7 103
    vcsFPService 1244 119864 1304 1852 1976 5405 9 123
    svchost 1308 1279312 23372 22836 71916 643069 51 243
    wlanext 1468 96560 5028 5408 5596 62101 19 193
    conhost 1484 27444 344 556 672 1006 4 57
    spoolsv 1572 100792 7212 8392 10204 104349 28 197
    svchost 1640 184960 33980 34616 152996 6586884 38 180
    armsvc 1904 45088 680 1020 1204 2935 7 87
    EvtEng 1964 98744 4888 5048 5404 89611 18 175
    RegSrvc 872 69036 1428 1872 1968 7757 9 134
    svchost 1728 69600 5356 2912 4428 33407 11 132
    TeamViewer_Service 1940 94344 2476 4544 4848 13215 26 189
    vmnat 2060 47524 1348 1736 1988 24619 10 86
    MsMpEng 2080 315092 91516 107944 467692 107216375 42 353
    ZeroConfigService 2132 123908 7808 8060 10168 449651 23 233
    vmware-authd 2200 89456 3196 4648 5156 1113449 16 167
    dasHost 2272 72276 2616 3840 4392 8943 12 149
    vmnetdhcp 2340 30012 7152 7276 7428 6320 6 43
    unsecapp 2352 29152 1776 1444 1564 37631 6 55
    WmiPrvSE 2380 112300 12716 12716 25488 2320161 17 153
    WmiPrvSE 2400 56676 9260 7112 10024 183028 11 91
    vmware-usbarbitrator64 2556 66780 2284 2284 2372 6278 11 130
    vmware-hostd 2728 176176 18572 31296 31736 855061 37 276
    svchost 2880 97028 10448 8704 10112 90687 33 184
    svchost 1944 24112 2388 2012 3176 84187 8 43
    NisSrv 3324 52048 1068 7476 10260 733397 13 91
    SearchIndexer 4916 759956 143660 160300 332296 9081293 81 443
    hpqWmiEx 5288 60704 1920 1644 1840 93044 10 121
    ICCProxy 5824 36876 956 1292 1528 5712 8 71
    BTHSAmpPalService 8896 32404 696 1008 1100 2369 9 53
    BTHSSecurityMgr 8980 46472 1264 2316 2448 4122 21 91
    OSPPSVC 13052 45928 2752 2424 3080 12738 7 88
    GoogleCrashHandler 100572 49036 380 1488 2236 167778 8 104
    GoogleCrashHandler64 100484 51000 372 1300 1424 6990 7 97
    csrss 11176 422268 57940 3760 32944 1391841 66 937
    winlogon 78752 54140 1848 1356 1708 15016 8 116
    dwm 91476 302424 30572 25404 53948 130614867 34 1722
    taskhostex 63852 299524 8256 5116 18880 133406 24 194
    SynTPEnh 63772 106584 900 5424 5520 174946 17 253
    taskhost 17264 186240 11576 8772 11504 23811 18 343
    SynTPHelper 27516 43820 380 688 712 15527 5 86
    DPAgent 55256 114168 6920 6432 6732 6873 27 210
    explorer 49704 735052 160792 129124 161524 3884908 141 1450
    livecomm 53652 933972 30468 28752 30772 474614 40 415
    SkyDrive 48624 184764 4340 15328 31776 273178 29 280
    RuntimeBroker 18164 178608 18956 11160 18028 233418 22 332
    DpAgent 75992 43424 684 784 784 946 5 85
    igfxsrvc 131912 72348 4476 2820 2908 4329 10 130
    hkcmd 53396 79700 2004 1636 1936 2063 10 153
    igfxpers 2892 90844 4016 2064 2204 3311 12 170
    SetPoint 9680 190380 19776 17160 17460 3482400 31 302
    KHALMNPR 49724 117620 5620 3856 4300 4245 23 190
    GoogleUpdate 59208 87456 508 2124 2284 31183 14 165
    SettingSyncHost 39820 170220 3272 10492 87284 795172 26 316
    chrome 32212 151068 10916 8016 8580 18894 23 275
    chrome 57844 625224 316396 243820 281988 16606915 184 713
    chrome 792 711600 239160 241528 424620 48754082 46 607
    chrome 57636 228016 70036 70196 113280 239994 32 246
    chrome 64324 199036 35636 35796 46792 25561 28 246
    chrome 101752 181488 18540 22908 27984 41914 25 250
    chrome 5260 389224 206556 198692 305988 2114575 87 262
    chrome 88672 228632 56516 56968 73048 166525 38 259
    chrome 55272 187292 16628 22920 28016 12477 25 253
    chrome 56228 183512 16572 24960 25184 9840 25 253
    chrome 52452 286576 101576 100304 117124 371134 52 263
    chrome 23584 193628 16380 23172 27108 13208 26 253
    chrome 55360 210408 46884 52016 62664 128337 35 259
    chrome 50344 182360 11080 21420 22992 7483 25 253
    chrome 54624 199704 23472 30180 36216 67469 28 253
    chrome 23668 185828 12440 22960 24180 8424 25 253
    chrome 22488 191268 18576 24228 27204 16644 26 253
    chrome 35332 263972 77000 85008 162044 837404 33 253
    chrome 14744 204912 40872 40124 51996 165195 32 253
    chrome 19152 191140 16184 24512 27596 15582 25 253
    chrome 60048 186788 11468 21816 23364 7680 25 253
    chrome 90376 184932 16672 23836 27316 14870 25 253
    chrome 57780 189156 11752 21836 24424 7886 25 253
    chrome 70696 189156 21800 27152 31228 30965 26 253
    chrome 34788 185688 18016 24640 24664 11659 25 253
    chrome 101608 184600 18472 25408 28348 12283 25 253
    chrome 129208 159432 8084 10000 10000 5155 18 275
    nacl64 35080 73064 1204 1520 1552 1370 8 148
    nacl64 51044 4194303 3908 25772 264924 4608 8203 611
    Skype 49672 389896 115448 103248 111760 54060700 103 561
    chrome 10376 149068 5600 4536 4536 3774 21 270
    flux 54068 141824 9156 10876 11304 7486 18 242
    Dropbox 42008 307004 84720 82012 96064 205381 52 359
    googletalkplugin 31032 116036 11368 10704 10992 64808 23 203
    ONENOTEM 62328 74860 1560 1432 1504 3772 10 143
    chrome 7356 224828 25884 34544 44348 185826 33 304
    CSISYN~1 130496 283012 9632 8324 8408 10926 22 400
    ielowutil 6072 56400 380 1220 1436 10104 9 110
    chrome 11112 216252 32368 39096 59100 85374 33 256
    chrome 51680 225488 56272 38272 55140 2913643 33 304
    chrome 127188 231316 29080 36380 49956 2040427 33 304
    chrome 86452 227412 31384 38664 48576 2291522 33 304
    chrome 22668 230776 35792 43212 53256 3765469 33 304
    chrome 43700 337968 22184 21140 203600 1259954 37 270
    chrome 44120 203040 28756 38612 42168 321797 28 202
    chrome 136084 260288 94204 91316 115484 959115 44 264
    chrome 91392 146412 4104 4116 4116 3241 16 266
    Taskmgr 6588 159648 29828 21432 26412 109347485 26 370
    chrome 45096 181232 27744 23260 27376 10676 25 250
    chrome 49304 205380 52352 43268 59156 73829 35 256
    chrome 27828 222748 49120 41348 67412 56080 34 256
    chrome 94756 203760 52196 38084 69612 54674 30 260
    chrome 81884 203100 44132 34600 52912 32984 31 256
    chrome 132092 228924 70200 38252 48608 955996 33 302
    chrome 142004 216936 59136 36936 45512 671152 33 284
    chrome 105208 232456 67812 57488 91232 85132 38 254
    mmc 110996 796588 32032 52276 67112 314694 51 744
    WmiPrvSE 131672 29476 5992 2332 2768 1873 8 55
    svchost 120260 31156 4712 1196 1352 1262 7 62
    audiodg 33452 72356 13272 9308 9316 3679 17 161
    WWAHost 97396 654624 38364 26476 29484 11234 41 463
    WWAHost 99776 175564 25788 9672 13272 8122 27 313
    taskhost 116388 98356 11344 3116 3116 2964 15 188
    cmd 108636 14524 2432 1568 1568 605 3 28
    conhost 125200 59244 5844 1224 1224 1516 8 116
    pslist 111172 73476 5908 2248 2248 4230 8 139
    When I did the SUM, I got these results:
    VM: 33,601,910
    WS: 4,038,504
    Priv: 4,041,576
    Priv Pk: 7,109,352
    So it looks like VM is really 33GB. So I tried to run the same dump again manually when I was using the computer, because I never get out of memory dialog when I actually use my laptop and I got total size of used VM of 39,035,346 KB
    However the task manager says only 7.6 GB of virtual memory is used and like I said I never get out of memory error when I actually use the laptop.
    Task manager screenshot here: http://goo.gl/20lyjA
    I've never had this problem until I upgraded my laptop to Windows 8.1 through Windows Store. Now I see the out of memory error every morning when I come back to my laptop.
    Any ideas how to solve those memory issues when my laptop is idle?
    UPDATE:
    I just found out that it only happens when I have a monitor plugged into the DisplayPort (even though the monitor is turned off). My laptop has Core i5 3210M with the latest graphics drivers installed (10.18.10.3496)

    Today I killed Chrome for the night but the result is the same
    Also Windows Defender didn't find anything.
    SystemCommitLimit 34,235,564,032
    SystemCommitCharge 34,092,351,488
    ProcessCommitCharge 10,08,476,160
    PagedPoolUsage 447,950,848
    PhysicalMemorySize 8,465,760,256
    PhysicalMemoryUsage 1,730,576,384
    NonPagedPoolUsage 154,148,864
    Processes 79
    http://goo.gl/uwPJN1
    And the process dump (sorted by VM desc)
    Name Pid VM WS Priv PrivPk Faults NonP Page
    svchost 988 4,194,303 103,444 107,520 632,152 1,040,920 48 231
    svchost 1,312 1,188,268 8,632 8,256 10,024 8,024 36 129
    livecomm 4,836 927,052 28,356 24,380 25,108 84,802 43 391
    WWAHost 3,388 655,556 38,528 26,476 29,624 11,318 42 463
    explorer 3,840 650,372 76,368 90,880 129,928 548,431 179 1,382
    DpHostW 892 587,908 19,316 36,372 38,836 21,219 56 326
    SearchIndexer 4,572 568,896 53,580 62,328 98,488 354,458 73 528
    svchost 436 441,112 25,880 25,632 360,828 300,035 55 375
    explorer 6,360 359,384 28,236 36,104 39,280 35,612 71 624
    Skype 7,724 338,140 86,724 90,528 95,108 28,164,574 69 533
    csrss 552 314,260 13,108 2,884 31,632 216,171 41 674
    taskhostex 3,332 306,036 13,056 11,220 11,352 31,744 51 210
    MsMpEng 2,112 305,492 48,216 76,448 183,144 3,187,826 42 319
    Dropbox 6,184 296,472 66,392 76,524 83,444 133,920 50 346
    CSISYN~1 5,212 280,972 6,516 7,460 7,840 6,159 23 400
    dwm 884 274,864 16,256 16,696 45,532 7,151,518 23 1,783
    SetPoint 5,596 184,192 16,624 17,592 17,956 260,341 30 289
    SkyDrive 3,924 181,984 4,192 13,880 30,544 115,647 29 274
    WWAHost 9,124 177,500 25,568 9,744 13,480 8,066 27 315
    taskhost 1,720 175,724 10,076 7,324 7,340 6,689 19 345
    vmware-hostd 2,696 165,648 25,436 27,856 28,156 82,271 33 253
    Taskmgr 5,448 160,580 20,160 21,156 28,524 27,600,455 28 364
    SettingSyncHost 4,036 147,452 2,416 7,656 11,752 38,943 25 288
    chrome 6,028 143,320 6,416 7,300 8,972 6,793 22 266
    flux 7,720 137,636 6,696 10,864 11,304 5,423 18 234
    svchost 948 134,080 18,484 23,020 25,756 25,985 34 196
    WSHost 1,772 130,696 6,604 6,864 8,700 8,366 21 255
    RuntimeBroker 3,580 125,732 13,464 6,320 7,036 42,007 18 247
    svchost 1,552 119,240 20,320 21,460 141,868 156,549 37 128
    vcsFPService 1,248 115,824 1,308 1,748 1,884 1,556 9 115
    KHALMNPR 5,620 112,556 4,128 3,824 3,916 3,366 24 178
    DPAgent 4,056 107,152 5,384 5,696 6,044 4,669 24 188
    ZeroConfigService 2,144 103,648 5,992 5,128 5,316 21,611 19 193
    svchost 736 99,752 9,884 9,576 9,836 7,358 41 212
    SynTPEnh 3,340 97,304 1,048 3,660 3,804 11,269 15 242
    spoolsv 1,512 93,648 6,668 6,916 9,004 9,866 28 191
    EvtEng 2,044 93,364 4,240 3,872 3,956 3,793 17 167
    wlanext 1,832 90,316 4,452 4,056 4,396 6,735 19 184
    GoogleUpdate 5,972 87,440 448 2,088 2,356 7,617 13 165
    igfxpers 5,912 85,784 1,728 1,960 2,112 2,313 11 162
    vmware-authd 2,224 85,024 3,192 3,996 4,260 39,321 15 150
    svchost 680 80,904 9,296 6,984 20,752 13,699 22 230
    hkcmd 5,884 79,684 1,412 1,608 1,920 1,892 9 153
    svchost 3,016 75,528 5,024 4,264 5,256 5,146 30 155
    ONENOTEM 7,896 74,848 924 1,460 1,660 2,407 10 143
    pslist 4,328 74,408 5,740 2,184 2,184 4,187 8 141
    audiodg 4,556 73,288 13,256 9,292 9,300 3,671 17 131
    WmiPrvSE 2,324 69,348 4,728 2,948 3,640 5,745 14 129
    stacsv64 1,108 68,724 3,464 5,008 5,416 4,675 13 131
    igfxsrvc 5,860 68,308 1,696 2,320 2,456 2,469 10 122
    SearchProtocolHost 1,844 67,896 7,184 1,796 1,848 1,952 11 141
    RegSrvc 1,544 64,904 1,372 1,560 1,708 1,814 8 126
    vmware-usbarbitrator64 2,536 63,640 1,696 1,972 2,076 2,569 11 124
    conhost 5,968 61,448 5,720 1,240 1,240 1,487 8 121
    svchost 1,200 60,780 1,824 2,112 3,444 2,892 11 119
    hpqWmiEx 4,356 56,608 1,876 1,536 1,820 3,092 10 105
    lsass 604 54,704 7,776 6,680 6,696 8,785 25 131
    winlogon 796 54,372 1,096 1,312 2,884 7,921 8 117
    GoogleCrashHandler64 4,024 51,000 356 1,232 1,352 1,604 7 97
    csrss 492 48,656 2,144 2,084 2,252 3,583 14 151
    GoogleCrashHandler 4,016 48,420 1,068 1,320 1,580 4,005 8 99
    L4301_Solar 1,224 48,252 1,256 1,200 1,408 1,390 7 95
    vmnat 2,068 45,372 1,120 1,260 1,512 1,611 9 85
    NisSrv 3,548 44,732 748 4,664 7,696 13,624 179 85
    svchost 724 44,612 6,552 5,920 6,084 32,460 19 103
    SynTPHelper 4,088 43,820 324 684 756 1,226 5 86
    DpAgent 4,316 43,408 696 800 864 914 5 85
    BTHSSecurityMgr 7,344 41,936 2,076 2,208 2,340 2,161 22 82
    WmiPrvSE 2,332 41,576 4,164 4,476 6,288 14,053 11 80
    wininit 536 40,700 656 732 956 1,282 7 94
    IntelCpHeciSvc 1,920 36,908 1,052 1,328 1,616 1,430 9 67
    ICCProxy 5,932 32,744 1,008 1,160 1,352 1,446 8 63
    SearchFilterHost 4,452 32,292 4,204 1,016 1,120 1,077 6 80
    unsecapp 2,304 30,184 1,784 1,316 1,316 1,825 6 57
    vmnetdhcp 2,504 29,548 7,212 7,256 7,388 4,223 6 43
    taskeng 8,012 28,520 4,528 1,096 1,280 1,214 7 54
    BTHSAmpPalService 7,280 28,364 932 988 1,084 1,060 10 45
    conhost 1,848 23,360 528 548 620 702 4 49
    services 596 22,724 4,216 3,552 4,024 7,784 9 106
    svchost 2,960 22,064 1,208 1,340 2,652 2,526 8 43
    dasHost 1,220 19,732 1,120 1,124 1,760 1,196 5 42
    System 4 19,604 1,656 9,496 20,760 80,340 - -
    cmd 7,320 14,524 2,440 1,572 1,572 607 3 28
    smss 356 4,288 300 276 340 555 2 12
    Idle - 64 24 - - 1 - -
    SUM 279,328 16,881,479 984,992 1,046,188 2,374,864 70,032,042 2,079 18,465

  • [Solved]Can I install arch without a swap partition ?

    I only have one primary partition free to install arch, with 3 primary partition and 1 extend partition, I have no other choice except install without swap partition.
    Is there any suggestion? I will try it until I get a U storage to write .img in.
    Last edited by sailor (2009-03-17 00:47:31)

    Sure, it's perfectly possible to use any linux system without swap. including arch.
    There are 2 ways to do disk partitioning in /arch/setup:
    1) autoprepare. with this method, you pick a disk (a disk you want to use entirely). you will be asked some questions (including how big swap should be). this method will create the partitions with the sizes you mention (/boot, swap, / and /home) optionally you can add additional fs'es
    2) manual. the installer can launch cfdisk for you if you need to alter partitions (if you want this), and after that you can define pretty much your stuff the way you like it (eg no swap) iirc. i'm not 100% sure though.
    Frankly I don't understand why you say "I have no choice", if you don't have enough partitions, you can always create additional ones.

  • [SOLVED] Big Memory Leak with Pacman - Xterm - Openbox

    Hi Everyone,
    I Don't know if this is the place to post this, and if not please correct me.
    I've installed Arch Linux in a virtual machine HDD using VirtualBox on Linux Mint. Then I made a simple install with openbox and slim just to make some testes before putting the all thing in my laptop.
    So after installing slim and openbox, i've checked free -m and he noticed me that the system was using 80mb of ram (really cool ^^). Then I start installing some apps just for test.
    I start installing libreoffice like this "sudo pacman -S libreoffice", in a xterm terminal and on another xterm terminal I had the fallowing command running "watch free -m" just to see the ram usage evolution...
    And then, during downloading/instalations, things became wierd... during download the ram usage start to grow up to 120mb and during instalation the ram usage start's growing more and more, to finish at 770mb !
    I doesn't make any sense ! But I don't really know if this is a pacman, openbox or xterm problem :S...
    Can someone give me any information about that ?
    Thanks in advance !
    PS : after a "sudo pacman -Scc" the ram drop at 633mb...
    Luis Da Costa
    Last edited by aliasbody (2011-07-07 18:33:56)

    Leonid.I wrote:
    aliasbody wrote:
    I'm sorry, I'm not making myself clear - my problem isn't the usage of Swap itself. I know that when RAM reaches its maximum, it uses Swap. I know that. And that's not what I'm "complaining" about.
    Problem is - why does updating via pacman uses so much allocated RAM? I think there's a memory leak in here somewhere and that's what I was aiming at - I'm basically asking if it's just me or if this has happened to someone else and if it's really a problem or it has a simple explanation....
    Well, pacman's memory usage depends on a particular package in question. Installing TexLive, for instance, takes a tremendous amount of RAM/swap compared to netcfg. Pacman does not simply copy files, but also executes scripts.
    It is not true that swap is used when the RAM is full. The kernel decides which data in RAM is relevant and the irrelevant data goes to swap, even if you have 300mb of RAM still available. /proc/sys/vm/swappiness controls this logic.
    In your atom netbook you have only 3mb in swap... this can not be the cause of a slowdown.
    Thank you for your answer this make me understand more about the all thing ^^
    I was just scared about a possibile memory leak, I didn't know that pacman.
    Thanks in advance for all, I will marked it as Solved then !

  • How do I solve ?memory issues with RTFObj.u32

    I am currently developing an interactive data analysis & reporting package to handle the results from an AW assessment program.
    Using RTFObj.u32, I can save an assessment report for each candidate that contains a runtime-generated score distribution graphic + a certificate graphic together with some text, amounting to one A4 page of output. The graphics are displayed on screen then captured into temporary files which are embedded into the rtf script template file (myCandFile in the script below)
    I use the sequence of code, each line in a separate calc, summarised as follows:
    myRTFID[QBatchNumber] := rtfCreate(56, 80, 560, 627, myCandReportFolder^myCandFile,0, 0, 1, 2, 1)
    result := rtfShow(myRTFID[myBatchNumber])
    result := rtfSave(myRTFID[myBatchNumber], 0, mycandReportFolder^myCandFile)
    result := rtfErase(myRTFID[myBatchNumber])
    When I place this in a loop, it works fine and produces individual files with embedded graphics for up to around 190 candidates but will not produce any further files for larger cohorts and rtfShow() fails at this number. This maximum number does not seem to change even if I group the candidate pages into batches of 10 which produces only 19 rtf files, each with 10 candidate reports, rtfShow then fails at cycle 19.
    Reducing the number of calls to rtfCreate() has no effect
    Reducing the dimensions of rtfCreate() has no effect.
    Reducing the content of each rtf file has no effect.
    Removing the page breaks in the rtf files has no effect
    The AW nested code loop continues to more than 400 records without apparent limit and graph plots continue to appear on screen to the end of the candidate listing.   Once the limit of 190 candidates has been reached, no more rtf files can be generated from anywhere else in the program and rtfOBJ.u32 appears to have failed without any warning messages.
    From these observations, I'm not sure what controls the limit.
    So what stops rtfObj.u32 from functioning? It would appear that rtfObj.u32 does not release the memory used to create the rtf file when rtfErase() is called. One might think that the limit may be related to the total number of characters handled by rtfObj.u32 in any one AW session, however reducing the rtf file size for each candidate by taking out one of the graphics has no effect on the number produced.
    In another area of the program I can successfully save 5 rtf files of 28Mb each with rtfOBJ.U32 failing on the 6th.
    Any ideas?
    If it is a memory limitation of rtfOBJ.U32, is there any method for getting around it by allocating memory for rtfCreate() and releasing the memory when rtfErase() is called. Is there any way of unloading rtfObj.u32 then reloading it from code within an AW piece?
    Regards
    Don

    This sounds very similar to a problem we had a few years with our Rtf files in Authorware 6.5
    If your getting the error on loop 190, do you have numerous Rtf calls in a single loop? Check the value of the variable RtfCreate contains when the problem occurs: is it positive or negative?
    The highest number you can record in 16 bits is 32767. When creating a new Rtf, Authorware increments the pointer by one each time. However, when it reaches 32767, the pointer then changes to negative 32768, then -32767, -32766 etc. Running in batches won't help, the pointer is reset to zero only when you quit Authorware.
    We solved the problem as follows:-
    -- Set when Initialising variables:-
    lastID:=1 -- bugfix flag re losing RTF identity past 32767
    B16:=0 -- Bit 16 Increment Value
    -- Here's a typical Rtf call
    rtfIDE:=rtfCreate(30,38,460,57,FnameTxtEng,0,0,1,1)
    -- After each rtfCreate, we tested to see if the value had gone negative & if so, called a sub-routine
    if (rtfIDE < 0 & lastID >0)   then
        CallScriptIcon(@"AdjB16")
    end if
    if rtfIDE >0 then lastID:=1
    rtfIDE:=rtfIDE + B16
    The calculation icon AdjB16 (With Properties set to Contains Script Function) is as follows:-
    --increment variable to adjust address of RTF pointer
    B16:=B16 + 65536
    --flag re move past 32768 multiples negative or positive (may come through here again on next time it passes 32767)
    if lastID =1 then lastID:=-1 else lastID:=1   -- there's a minus sign in there!
    The show rtf call now carries on incrementing after 32767, so next Rtf show is positive 32768  ... & surprisingly Authorware shows correct Rtf
    After -32768, the Create routine will eventually get the pointer down to minus one, zwero and then turn positive ... but happens again next time it passes 32767.
    I don't recall how high we tested Show Rtf up to but we took it past 131,072

  • High virtual memory after sleep with Mavericks

    Here is a screenshot of activity monitor below, right after lifting the lid on my MacBook Air 2013 running Mavericks 10.9.2 (upgraded from Mountain Lion).
    It's in french but you can see that the virtual memory is running higher than I would expect (IMO). There is no slowdown of the OS, no beach balls, no memory pressure, ever.
    This does NOT happen on my Macbook Pro 2012 (standard 13", no SSD) in identical conditions under the same OS version.
    Here what i do in more detail. I run several apps at once:
    - MS Word (3 ou 4 docs)
    - Pages (1 or 2 docs)
    - Preview (1 or 2 medium or large PDFs)
    - Mail
    - iTunes
    - Safari (no more than 5 or 6 tabs at once)
    - Messages
    - A spell checker (Antidote. Yes, a french one)
    - Zotero
    - Activity monitor
    RAM used is never above 6 Gb, and some it is usually cache anyway.
    At the end of the day I close the lid to put the MBAir to sleep. The next day I see this high (or is it really that high??) virtual memory usage, with swap used anywhere from 300 to 900 Mb.
    Computer runs smoothly, no hang ups, everything is seamless!
    Is this normal operating behavior for a Macbook Air??
    I know Mavericks introduced new RAM management, but should I just stop looking at Activity Monitor like I have OCD (I dont. I think.) or should I call Apple? Or do a clean install?
    Suggestions welcome! If I'm missing info please advise. If a thread already exists about this I didn't find it...

    You are not alone in being baffled and worried about the memory readings in the Activity Monitor.  There are many postings on this.  Mavericks uses memory quite differently than previous OS X versions and so the numeric memory usage readings no longer mean what they used to.  The best indicator now is the Memory Pressure graph, which on yours is low and green (good).
    Computer runs smoothly, no hang ups, everything is seamless!
    Yep.  Mavericks runs great.  There is nothing you need to change or be worried about, espeically with 8 GB of RAM.
    should I just stop looking at Activity Monitor like I have OCD
    Yes, unless you want to watch the green Memory Pressure graph but that would be booring.

  • SQL Error Data Flow Task 1: The buffer manager detected that the system was low on virtual memory...

    I'm relatively new to SQL and this is the error that appeared when I tried importing my data. Not sure how to deal with this. Help please. Thanks a lot!
    Information 0x4004800c: Data Flow Task 1: The buffer manager detected that the system was low on virtual memory, but was unable to swap out any buffers. 14 buffers were considered and 14 were locked. Either not enough memory is available to the pipeline
    because not enough is installed, other processes are using it, or too many buffers are locked.

    Either reduce the amount of data e.g. by lowering the Data Flow Task records max per batch and buffer size
    or install more RAM, or process on a more capable computer.
    Arthur
    MyBlog
    Twitter

  • Secure Virtual Memory

    I understand what secure virtual memory does- it encrypts the swap file in OS X. Beyond that, what do I gain from enabling this security feature? If I don't encrypt my home folder with FileVault, do I really have a lot to gain by using secure virtual memory?

    Someone else may express a different opinion, but to me, if you don't have your files protected, there's little point in protecting virtual memory. The entire point of secure VM in my understanding is to prevent someone from gleaning information from the VM files that is otherwise unobtainable. If you haven't secured the files themselves, it's all wide open and no one will need to go to the trouble of examining VM. Only if you were to have files that you regularly erase via the Secure Erase that you want to be sure cannot thereafter be accessed at all, even in part, would secure VM seem to have any purpose.
    EDIT: Kappy's point about passwords, etc. is well taken, though reasonable physical precautions should be enough for most uses. If you have very sensitive logins, then secure VM may be worthwhile, though at that point FileVault, firmware passwords, and other precautions would also be advised (it's been shown that under some circumstances such information can even be recovered from RAM). It's all about what you need to secure, and under what circumstances someone might get access to your system.
    Message was edited by: Dave Sawyer

  • What the heck is going on with my Virtual Memory??!!

    I'm not really sure why but when I check activity monitor and see my VM it says i'm using anywhere from 230-270 gigs of virtual memory. This is literally fresh out of restart when it says this much and never changes. I go through and check every process I see runing and create a quick estimate of the virtual memory being used, and it's definitely not over 10 gigs if even 5; honestly I think it's listing between 1-2.
    What the heck could be causing this? Verified HD and came up clean. Should I be concerned? I'm not gonna lie this macbook isn't running the best it used to be. Watching videos, whether mp4, mkv, youtube, is pretty laggy. I'm aways sure to close all other processes to to try and maximize video performance, not that it helps much. I'm considering a fresh install and recovery via timemachine.

    I excluded the list of fonts from step 4 as I'm a graphic design major and have well over a thousand...and I didn't want you to burn up your scroll wheel or rub the tips of your fingers off with the amount of scrolling you'd have to do had I included them .
    Command 1:
    com.displaylink.driver.DisplayLinkDriver (1.7)
    com.rogueamoeba.HermesAudio (3.0.1)
    com.Cycling74.driver.Soundflower (1.5.1)
    com.bresink.driver.BRESINKx86Monitoring (7.0)
    com.logmein.hamachi (1.0)
    foo.tun (1.0)
    foo.tap (1.0)
    Command 2:
    com.autodesk.backburner_server
    com.autodesk.backburner_manager
    net.openvpn.client
    com.vmware.launchd.vmware
    com.themha.airlock.daemon
    com.rogueamoeba.hermes
    com.logmein.hamachi
    com.google.keystone.daemon
    com.displaylink.usbnivolistener
    com.bombich.ccc
    com.autodesk.wiretapgateway
    com.autodesk.sw_start
    com.autodesk.sw_server
    com.autodesk.sw_probed
    com.autodesk.sw_dbd
    com.autodesk.sw_bwmgr
    com.autodesk.dl_mpd
    com.autodesk.backburner_start
    com.autodesk.adlm
    com.adobe.versioncueCS4
    Command 3:
    com.wacom.pentablet
    com.lexmark.hostregister
    com.lexmark.hostinfoupdater
    com.lexmark.hbnlistener
    com.google.keystone.root.agent
    com.displaylink.useragent
    com.adobe.CS4ServiceManager
    com.google.GoogleContactSyncAgent
    com.adobe.ARM.930da3ce175de4e82bd3cdf1dd8571f74bd3b6a7236bc94bfc00f6e9
    com.adobe.AAM.Scheduler-1.0
    Command 4:
    /Library/Components:
    XiphQT.component
    /Library/Extensions:
    ham.kext
    /Library/Frameworks:
    .DS_Store
    AECore.framework
    AEProfiling.framework
    AERegistration.framework
    Adlm.framework
    Adobe AIR.framework
    AudioMixEngine.framework
    Cairo.framework
    Compressor.framework
    DSPPublishing.framework
    DivX Toolkit.framework
    EWSMac-GC.framework
    EWSMac.framework
    Frameworks
    FxPlug.framework
    GLib.framework
    Gtk.framework
    HPDeviceModel.framework
    HPPml.framework
    HPServicesInterface.framework
    HPSmartPrint.framework
    Jackmp.framework
    Jackservermp.framework
    MacFUSE.framework
    MediaServerAPI.framework
    Mesh3DS.framework
    Mono.framework
    NyxAudioAnalysis.framework
    OpenVPN.framework
    Panda.framework
    PluginManager.framework
    ProMetadataSupport.framework
    Python.framework
    Qmaster.framework
    TSLicense.framework
    WacomMultiTouch.framework
    XSKey.framework
    libZJBIG.dylib
    libxml.framework
    /Library/Input Methods:
    /Library/InputManagers:
    Safari AdBlock
    /Library/Internet Plug-Ins:
    AdobePDFViewer.plugin
    CANONiMAGEGATEWAYDL.plugin
    CANONiMAGEGATEWAYLI.plugin
    CouponPrinter-FireFox.plugin
    CouponPrinter-Safari.webplugin
    DivXBrowserPlugin.plugin
    Flash Player.plugin
    Flip4Mac WMV Plugin.plugin
    Flip4Mac WMV Plugin.webplugin
    Google Earth Web Plug-in.plugin
    JavaAppletPlugin.plugin
    Quartz Composer.webplugin
    QuickTime Plugin.plugin
    Silverlight.plugin
    Unity Web Player.plugin
    Unused
    WacomNetscape.plugin
    WeatherScope.plugin
    flashplayer.xpt
    googletalkbrowserplugin.plugin
    iPhotoPhotocast.plugin
    npdivx.xpt
    npgtpo3dautoplugin.plugin
    nsIQTScriptablePlugin.xpt
    /Library/Keyboard Layouts:
    /Library/LaunchAgents:
    com.adobe.AAM.Updater-1.0.plist
    com.adobe.CS4ServiceManager.plist
    com.displaylink.useragent.plist
    com.google.keystone.agent.plist
    com.lexmark.hbnlistener.plist
    com.lexmark.hostinfoupdater.plist
    com.lexmark.hostregister.plist
    com.wacom.pentablet.plist
    /Library/LaunchDaemons:
    com.adobe.versioncueCS4.plist
    com.apple.aelwriter.plist
    com.apple.qmaster.qmasterd.plist
    com.apple.remotepairtool.plist
    com.autodesk.adlm.plist
    com.autodesk.backburner_manager.plist
    com.autodesk.backburner_server.plist
    com.autodesk.backburner_start.plist
    com.autodesk.dl_mpd.plist
    com.autodesk.sw_bwmgr.plist
    com.autodesk.sw_dbd.plist
    com.autodesk.sw_probed.plist
    com.autodesk.sw_server.plist
    com.autodesk.sw_start.plist
    com.autodesk.wiretapgateway.plist
    com.bombich.ccc.plist
    com.displaylink.usbnivolistener.plist
    com.google.keystone.daemon.plist
    com.logmein.hamachi.plist
    com.rogueamoeba.hermes.plist
    com.themha.airlock.daemon.plist
    com.vmware.launchd.vmware.plist
    net.openvpn.client.plist
    org.macports.Privoxy.plist
    /Library/PreferencePanes:
    DivX.prefPane
    Fan Control.prefPane
    Flip4Mac WMV.prefPane
    MacFUSE.prefPane
    PenTablet.prefPane
    VersionCueCS4.prefPane
    /Library/PrivilegedHelperTools:
    com.bombich.ccc
    /Library/Privoxy:
    privoxy
    /Library/QuickLook:
    BrushViewQL.qlgenerator
    GBQLGenerator.qlgenerator
    LogicQLGenerator.qlgenerator
    VMware Fusion QuickLook.qlgenerator
    iWork.qlgenerator
    /Library/QuickTime:
    AppleHDVCodec.component
    AppleIntermediateCodec.component
    AppleMPEG2Codec.component
    AppleProResCodec.component
    CanonMJPEGAVI.component
    CanonMJPEGAVIDec.component
    CanonText.component
    DVCPROHDCodec.component
    DVCPROHDMuxer.component
    DVCPROHDVideoDigitizer.component
    DVCPROHDVideoOutput.component
    DVCPROHDVideoOutputClock.component
    DVCPROHDVideoOutputCodec.component
    DesktopVideoOut.component
    DivX Decoder.component
    DivX Encoder.component
    FCP Uncompressed 422.component
    Flip4Mac WMV Advanced.component
    Flip4Mac WMV Export.component
    Flip4Mac WMV Import.component
    Google Camera Adapter 0.component
    Google Camera Adapter 1.component
    IMXCodec.component
    MayaIFF.component
    /Library/ScriptingAdditions:
    Adobe Unit Types.osax
    /Library/Spotlight:
    GBSpotlightImporter.mdimporter
    LogicPro.mdimporter
    Microsoft Office.mdimporter
    iWork.mdimporter
    /Library/StartupItems:
    BRESINKx86Monitoring
    CoreDuoTemp
    FanControlDaemon
    /etc/mach_init.d:
    /etc/mach_init_per_login_session.d:
    /etc/mach_init_per_user.d:
    Library/Address Book Plug-Ins:
    SkypeABDialer.bundle
    SkypeABSMS.bundle
    Library/Fonts:
    alot...
    Library/Frameworks:
    Library/Input Methods:
    .localized
    Library/Internet Plug-Ins:
    Move_Media_Player.plugin
    doubleTwistWebPlugin.bundle
    fbplugin_1_0_1.plugin
    fbplugin_1_0_3.plugin
    Library/Keyboard Layouts:
    Library/LaunchAgents:
    com.adobe.AAM.Updater-1.0.plist
    com.adobe.ARM.930da3ce175de4e82bd3cdf1dd8571f74bd3b6a7236bc94bfc00f6e9.plist
    com.apple.AddressBook.ScheduledSync.PHXCardDAVSource.8F30A2BB-9699-4472-B47A-69D 7FA822C70.plist
    [email protected]
    com.apple.FolderActions.enabled.plist
    com.apple.FolderActions.folders.plist
    com.google.GoogleContactSyncAgent.plist
    Library/PreferencePanes:
    .c4dsetup
    .c4dsetupCINEMA 4DF51A2E69
    Airlock.prefPane
    Connect360.prefPane
    Perian.prefPane
    Library/QuickTime:
    AC3MovieImport.component
    Perian.component
    Command 5:
    Connect360Helper, DockSpaces, MiniUsage, OpenVPN Connect, Bowtie, SpacieHelper, Rowmote Helper, Dropbox, BambooCore

  • Swapping Entire JVM to Virtual Memory (1.4.2_15 / Windows 2003)

    I am running *3 instances* of Apache Tomcat on Windows 2003 using JVM 1.4.2_15 with the following JVM options:
    -server -Xmx768m -Xms512m -Xmn256m -Xss128k -verbose:gc
    -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:SurvivorRatio=8
    -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=31 -XX:+PrintGCDetailsThe machine has 4GB of Ram, but the entire JVM swaps out to virtual memory when not in use. Then, when a user logs into the application it loads up the main memory from the swap. The java.exe process is constantly going from 10MB to 300MB and back, over and over. Most of the time there is 3GB of main memory free. I believe the application has many JARs loading, so the permanent space is important. There is not too much garbage collection happening, so it seems like the memory params are correct.
    How do I stop the JVM from using so much swap and utilize main memory instead?

    If the JVM's pages are being swapped out, it's because the OS believes it would be better to use the memory for something else (e.g. file cache) because the JVM isn't using the memory.
    So you could make the JVM more active, the rest of the system less active, or lock the pages in memory. I think the last option can be done with the -XX:+UseLargePages option: [http://java.sun.com/javase/technologies/hotspot/largememory.jsp]. However, I think it requires Windows 2003.

  • There is insufficient memory for the Java Runtime Environment to continue,JVM crash with high virtual memory on windows

    Hello,
    Virtual Memory of tomcat(version is 6.0.35) is very high and jvm crash even though we decrease java heap size from 1024M to 500M.
    Below is whole log. Please give me some suggestion. Thanks.
    # There is insufficient memory for the Java Runtime Environment to continue.
    # Native memory allocation (malloc) failed to allocate 666390 bytes for jbyte in C:\BUILD_AREA\jdk6_45\hotspot\src\share\vm\prims\jni.cpp
    # Possible reasons:
    #   The system is out of physical RAM or swap space
    #   In 32 bit mode, the process size limit was hit
    # Possible solutions:
    #   Reduce memory load on the system
    #   Increase physical memory or swap space
    #   Check if swap backing store is full
    #   Use 64 bit Java on a 64 bit OS
    #   Decrease Java heap size (-Xmx/-Xms)
    #   Decrease number of Java threads
    #   Decrease Java thread stack sizes (-Xss)
    #   Set larger code cache with -XX:ReservedCodeCacheSize=
    # This output file may be truncated or incomplete.
    #  Out of Memory Error (memory/allocation.inline.hpp:44), pid=9084, tid=8100
    # JRE version: 6.0_45-b06
    # Java VM: Java HotSpot(TM) Client VM (20.45-b01 mixed mode, sharing windows-x86 )
    ---------------  T H R E A D  ---------------
    Current thread (0x045a5400):  JavaThread "Thread-69" [_thread_in_vm, id=8100, stack(0x090e0000,0x09120000)]
    Stack: [0x090e0000,0x09120000],  sp=0x0911f56c,  free space=253k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    [error occurred during error reporting (printing native stack), id 0xe0000000]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    J  com.neva.ExternalObject.toExternalHeap2([BI)I
    J  com.neva.ExternalObject.<init>([BII)V
    J  com.neva.Coroutine.addArgUnicodeString(Ljava/lang/String;)V
    j  com.neva.COMBSTR.<init>(Ljava/lang/String;)V+29
    j  com.neva.COMVariant.<init>(Ljava/lang/String;)V+19
    J  com.cpcus.jaru.protocol.impl.combridge.wizardgen.IJaruProtocol1.registerInterest(Ljava/lang/String;Ljava/lang/String;[ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V
    j  sun.reflect.GeneratedMethodAccessor844.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+170
    J  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    J  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    J  com.cpcus.jaru.util.concurent.ComMethodExecutor$ExecutableMethod.call()Ljava/lang/Object;
    J  EDU.oswego.cs.dl.util.concurrent.FutureResult$1.run()V
    J  com.cpcus.jaru.util.concurent.QueuedExecutor$MyRunLoop.run()V
    j  java.lang.Thread.run()V+11
    v  ~StubRoutines::call_stub
    ---------------  P R O C E S S  ---------------
    Java Threads: ( => current thread )
      0x044fe000 JavaThread "Thread-1099" daemon [_thread_blocked, id=8048, stack(0x4c4d0000,0x4c510000)]
      0x044f8c00 JavaThread "Thread-1098" daemon [_thread_blocked, id=1744, stack(0x46e50000,0x46e90000)]
      0x044cd000 JavaThread "Thread-1095" daemon [_thread_in_native, id=6176, stack(0x00bb0000,0x00c20000)]
      0x04c7f800 JavaThread "Thread-1094" daemon [_thread_blocked, id=7352, stack(0x0d340000,0x0d380000)]
      0x04c7dc00 JavaThread "Thread-1093" daemon [_thread_in_native, id=1364, stack(0x0bbd0000,0x0bc10000)]
      0x044fcc00 JavaThread "http-80-72" daemon [_thread_blocked, id=1580, stack(0x42110000,0x42150000)]
      0x044fc000 JavaThread "http-80-71" daemon [_thread_blocked, id=2996, stack(0x0cd10000,0x0cd50000)]
      0x044fb800 JavaThread "http-80-70" daemon [_thread_in_native, id=5004, stack(0x0cc90000,0x0ccd0000)]
      0x044fd800 JavaThread "http-80-69" daemon [_thread_blocked, id=8776, stack(0x0f950000,0x0f990000)]
      0x044fb400 JavaThread "http-80-68" daemon [_thread_blocked, id=8440, stack(0x0f8d0000,0x0f910000)]
      0x044f8000 JavaThread "http-80-67" daemon [_thread_in_native, id=5516, stack(0x0f850000,0x0f890000)]
      0x044fd400 JavaThread "http-80-66" daemon [_thread_blocked, id=876, stack(0x0f6d0000,0x0f710000)]
      0x044fac00 JavaThread "http-80-65" daemon [_thread_in_native, id=8332, stack(0x0f690000,0x0f6d0000)]
      0x044fa800 JavaThread "http-80-64" daemon [_thread_in_native, id=6848, stack(0x0f610000,0x0f650000)]
      0x044fc800 JavaThread "http-80-63" daemon [_thread_blocked, id=5996, stack(0x0f590000,0x0f5d0000)]
      0x044fa000 JavaThread "http-80-62" daemon [_thread_blocked, id=4876, stack(0x0cf90000,0x0cfd0000)]
      0x044f9c00 JavaThread "http-80-61" daemon [_thread_blocked, id=5532, stack(0x0f550000,0x0f590000)]
      0x044f9400 JavaThread "http-80-60" daemon [_thread_in_native, id=1764, stack(0x0f4d0000,0x0f510000)]
      0x044f8800 JavaThread "http-80-59" daemon [_thread_blocked, id=6108, stack(0x0f450000,0x0f490000)]
      0x044f7400 JavaThread "http-80-58" daemon [_thread_in_native, id=6892, stack(0x0d400000,0x0d440000)]
      0x04ab3000 JavaThread "http-80-57" daemon [_thread_in_native, id=6932, stack(0x0d2c0000,0x0d300000)]
      0x0436b400 JavaThread "http-80-56" daemon [_thread_blocked, id=644, stack(0x0d240000,0x0d280000)]
      0x0436a000 JavaThread "http-80-55" daemon [_thread_in_native, id=6772, stack(0x0d1c0000,0x0d200000)]
      0x04c80c00 JavaThread "http-80-54" daemon [_thread_in_native, id=2732, stack(0x0d140000,0x0d180000)]
      0x04c80800 JavaThread "http-80-53" daemon [_thread_in_native, id=4172, stack(0x0d0c0000,0x0d100000)]
      0x04c80000 JavaThread "http-80-52" daemon [_thread_blocked, id=2512, stack(0x0d040000,0x0d080000)]
      0x044cdc00 JavaThread "http-80-51" daemon [_thread_in_native, id=6260, stack(0x0ced0000,0x0cf10000)]
      0x04c7d400 JavaThread "http-80-50" daemon [_thread_blocked, id=4336, stack(0x0ce90000,0x0ced0000)]
      0x0436d400 JavaThread "http-80-49" daemon [_thread_blocked, id=2484, stack(0x0ce10000,0x0ce50000)]
      0x0436dc00 JavaThread "http-80-48" daemon [_thread_in_native, id=8396, stack(0x0c840000,0x0c880000)]
      0x0436cc00 JavaThread "http-80-47" daemon [_thread_blocked, id=8300, stack(0x0c9c0000,0x0ca00000)]
      0x0436c800 JavaThread "H2 Log Writer FRAMEDB" daemon [_thread_blocked, id=7556, stack(0x0cc10000,0x0cc50000)]
      0x0436bc00 JavaThread "H2 File Lock Watchdog C:\Program Files (x86)\Tomcat\webapps\emerson\vault\dbframe\h2\framedb.lock.db" daemon [_thread_blocked, id=7236, stack(0x0c940000,0x0c980000)]
      0x0436c000 JavaThread "http-80-46" daemon [_thread_in_native, id=5128, stack(0x0c8c0000,0x0c900000)]
      0x0436b000 JavaThread "http-80-45" daemon [_thread_blocked, id=7860, stack(0x0c0c0000,0x0c100000)]
      0x0436a800 JavaThread "http-80-44" daemon [_thread_in_native, id=8244, stack(0x0bfc0000,0x0c000000)]
      0x04ab2800 JavaThread "http-80-43" daemon [_thread_blocked, id=6656, stack(0x0c7c0000,0x0c800000)]
      0x04ab2000 JavaThread "http-80-42" daemon [_thread_blocked, id=8412, stack(0x0c740000,0x0c780000)]
      0x04ab1c00 JavaThread "http-80-41" daemon [_thread_in_native, id=6300, stack(0x0c6c0000,0x0c700000)]
      0x04ab1400 JavaThread "http-80-40" daemon [_thread_blocked, id=4312, stack(0x0c640000,0x0c680000)]
      0x04ab1000 JavaThread "http-80-39" daemon [_thread_blocked, id=5480, stack(0x0c5c0000,0x0c600000)]
      0x04ab0800 JavaThread "http-80-38" daemon [_thread_blocked, id=8648, stack(0x0c540000,0x0c580000)]
      0x04ab0400 JavaThread "http-80-37" daemon [_thread_blocked, id=8008, stack(0x0c4c0000,0x0c500000)]
      0x04aafc00 JavaThread "http-80-36" daemon [_thread_in_native, id=8496, stack(0x0c340000,0x0c380000)]
      0x04aaf400 JavaThread "http-80-35" daemon [_thread_blocked, id=6616, stack(0x0c2c0000,0x0c300000)]
      0x044cf000 JavaThread "http-80-34" daemon [_thread_blocked, id=3852, stack(0x0c240000,0x0c280000)]
      0x044ce800 JavaThread "http-80-33" daemon [_thread_blocked, id=8828, stack(0x0c1c0000,0x0c200000)]
      0x044ce400 JavaThread "http-80-32" daemon [_thread_blocked, id=4076, stack(0x0c140000,0x0c180000)]
      0x044cc400 JavaThread "http-80-31" daemon [_thread_blocked, id=888, stack(0x0be90000,0x0bed0000)]
      0x044cbc00 JavaThread "http-80-30" daemon [_thread_blocked, id=8524, stack(0x0be10000,0x0be50000)]
      0x044cd800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=6500, stack(0x0c040000,0x0c080000)]
      0x044ccc00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=8888, stack(0x0bf40000,0x0bf80000)]
      0x045a5800 JavaThread "MonitorThreadCountsAndMemory" daemon [_thread_blocked, id=760, stack(0x09160000,0x091a0000)]
      0x04742400 JavaThread "Thread-116" daemon [_thread_blocked, id=8208, stack(0x0bdd0000,0x0be10000)]
      0x04742c00 JavaThread "Thread-115" daemon [_thread_blocked, id=6160, stack(0x0bd30000,0x0bd70000)]
      0x04742000 JavaThread "TP-Monitor" daemon [_thread_blocked, id=4676, stack(0x0b730000,0x0b770000)]
      0x04741800 JavaThread "TP-Processor4" daemon [_thread_in_native, id=7904, stack(0x0b6b0000,0x0b6f0000)]
      0x04741000 JavaThread "TP-Processor3" daemon [_thread_blocked, id=3892, stack(0x0b630000,0x0b670000)]
      0x04740c00 JavaThread "TP-Processor2" daemon [_thread_blocked, id=8200, stack(0x0b5b0000,0x0b5f0000)]
      0x04740400 JavaThread "TP-Processor1" daemon [_thread_blocked, id=8240, stack(0x0b530000,0x0b570000)]
      0x04740000 JavaThread "http-80-29" daemon [_thread_blocked, id=8952, stack(0x0b4b0000,0x0b4f0000)]
      0x0473f800 JavaThread "http-80-28" daemon [_thread_in_native, id=5804, stack(0x0b430000,0x0b470000)]
      0x0473f400 JavaThread "http-80-27" daemon [_thread_blocked, id=8768, stack(0x0b3b0000,0x0b3f0000)]
      0x0473ec00 JavaThread "http-80-26" daemon [_thread_in_native, id=8428, stack(0x0b330000,0x0b370000)]
      0x0473e400 JavaThread "http-80-25" daemon [_thread_blocked, id=6328, stack(0x0b2b0000,0x0b2f0000)]
      0x0473e000 JavaThread "http-80-24" daemon [_thread_in_native, id=7856, stack(0x0b230000,0x0b270000)]
      0x0473d800 JavaThread "http-80-23" daemon [_thread_in_native, id=8212, stack(0x0b1b0000,0x0b1f0000)]
      0x0473d400 JavaThread "http-80-22" daemon [_thread_blocked, id=7572, stack(0x0b130000,0x0b170000)]
      0x0473cc00 JavaThread "http-80-21" daemon [_thread_in_native, id=4112, stack(0x0b0b0000,0x0b0f0000)]
      0x0473c800 JavaThread "http-80-20" daemon [_thread_in_native, id=1788, stack(0x0b030000,0x0b070000)]
      0x0473c000 JavaThread "http-80-19" daemon [_thread_blocked, id=6804, stack(0x0afb0000,0x0aff0000)]
      0x0473b800 JavaThread "http-80-18" daemon [_thread_in_native, id=1600, stack(0x0af30000,0x0af70000)]
      0x0473b400 JavaThread "http-80-17" daemon [_thread_in_native, id=5728, stack(0x0aeb0000,0x0aef0000)]
      0x04acc400 JavaThread "http-80-16" daemon [_thread_blocked, id=8728, stack(0x0ae30000,0x0ae70000)]
      0x04acbc00 JavaThread "http-80-15" daemon [_thread_blocked, id=5868, stack(0x0adb0000,0x0adf0000)]
      0x04acb800 JavaThread "http-80-14" daemon [_thread_blocked, id=6976, stack(0x0ad30000,0x0ad70000)]
      0x04acb000 JavaThread "http-80-13" daemon [_thread_blocked, id=6168, stack(0x0acb0000,0x0acf0000)]
      0x04acac00 JavaThread "http-80-12" daemon [_thread_blocked, id=2592, stack(0x0ac30000,0x0ac70000)]
      0x04aca400 JavaThread "http-80-11" daemon [_thread_in_native, id=7936, stack(0x0abb0000,0x0abf0000)]
      0x04aca000 JavaThread "http-80-10" daemon [_thread_in_native, id=7532, stack(0x0ab30000,0x0ab70000)]
      0x04ac9800 JavaThread "http-80-9" daemon [_thread_blocked, id=7704, stack(0x0aab0000,0x0aaf0000)]
      0x04ac9400 JavaThread "http-80-8" daemon [_thread_in_native, id=8852, stack(0x0aa30000,0x0aa70000)]
      0x04ac8c00 JavaThread "http-80-7" daemon [_thread_blocked, id=5052, stack(0x0a9b0000,0x0a9f0000)]
      0x04ac8400 JavaThread "http-80-6" daemon [_thread_blocked, id=5932, stack(0x0a930000,0x0a970000)]
      0x04ac8000 JavaThread "http-80-5" daemon [_thread_blocked, id=8992, stack(0x0a8b0000,0x0a8f0000)]
      0x04ac7800 JavaThread "http-80-4" daemon [_thread_in_native, id=6396, stack(0x0a830000,0x0a870000)]
      0x04ac7400 JavaThread "http-80-3" daemon [_thread_in_native, id=8764, stack(0x0a7b0000,0x0a7f0000)]
      0x04ac6c00 JavaThread "http-80-2" daemon [_thread_in_native, id=2608, stack(0x0a730000,0x0a770000)]
      0x04ac6800 JavaThread "http-80-1" daemon [_thread_in_native, id=5736, stack(0x0a6b0000,0x0a6f0000)]
      0x04ac6000 JavaThread "http-80-Acceptor-0" daemon [_thread_in_native, id=5912, stack(0x0a630000,0x0a670000)]
      0x04ac5800 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=6984, stack(0x0a5b0000,0x0a5f0000)]
      0x04ac5400 JavaThread "Thread-79" [_thread_in_native, id=1512, stack(0x0a530000,0x0a570000)]
      0x04ac4c00 JavaThread "QuartzScheduler_JaruQuartzSchedulerUser-3_MisfireHandler" [_thread_blocked, id=7460, stack(0x0a4b0000,0x0a4f0000)]
      0x0479f800 JavaThread "QuartzScheduler_JaruQuartzSchedulerSystem-2_MisfireHandler" [_thread_blocked, id=7164, stack(0x0a430000,0x0a470000)]
      0x0479f400 JavaThread "JaruQuartzSchedulerUser_QuartzSchedulerThread" [_thread_blocked, id=8972, stack(0x0a3b0000,0x0a3f0000)]
      0x0479ec00 JavaThread "JaruQuartzSchedulerUser_Worker-4" [_thread_blocked, id=4032, stack(0x0a330000,0x0a370000)]
      0x0479e400 JavaThread "JaruQuartzSchedulerUser_Worker-3" [_thread_blocked, id=7432, stack(0x0a2b0000,0x0a2f0000)]
      0x0479e000 JavaThread "JaruQuartzSchedulerUser_Worker-2" [_thread_blocked, id=7932, stack(0x0a230000,0x0a270000)]
      0x0479d800 JavaThread "JaruQuartzSchedulerUser_Worker-1" [_thread_blocked, id=4896, stack(0x0a1b0000,0x0a1f0000)]
      0x0479d400 JavaThread "JaruQuartzSchedulerSystem_QuartzSchedulerThread" [_thread_blocked, id=7380, stack(0x0a130000,0x0a170000)]
      0x0479cc00 JavaThread "JaruQuartzSchedulerSystem_Worker-9" [_thread_blocked, id=5416, stack(0x0a0b0000,0x0a0f0000)]
      0x0479c800 JavaThread "JaruQuartzSchedulerSystem_Worker-8" [_thread_blocked, id=5432, stack(0x0a030000,0x0a070000)]
      0x0479c000 JavaThread "JaruQuartzSchedulerSystem_Worker-7" [_thread_blocked, id=7812, stack(0x09fb0000,0x09ff0000)]
      0x0479b800 JavaThread "JaruQuartzSchedulerSystem_Worker-6" [_thread_blocked, id=8296, stack(0x09f30000,0x09f70000)]
      0x0479b400 JavaThread "JaruQuartzSchedulerSystem_Worker-5" [_thread_blocked, id=5216, stack(0x09eb0000,0x09ef0000)]
      0x0479ac00 JavaThread "JaruQuartzSchedulerSystem_Worker-4" [_thread_blocked, id=8616, stack(0x09e30000,0x09e70000)]
      0x0479a800 JavaThread "JaruQuartzSchedulerSystem_Worker-3" [_thread_blocked, id=9108, stack(0x09db0000,0x09df0000)]
      0x0479a000 JavaThread "JaruQuartzSchedulerSystem_Worker-2" [_thread_blocked, id=7928, stack(0x09d30000,0x09d70000)]
      0x04799c00 JavaThread "JaruQuartzSchedulerSystem_Worker-1" [_thread_blocked, id=5344, stack(0x09cb0000,0x09cf0000)]
      0x04799400 JavaThread "DefaultQuartzScheduler_QuartzSchedulerThread" [_thread_blocked, id=5288, stack(0x09c30000,0x09c70000)]
      0x04798c00 JavaThread "DefaultQuartzScheduler_Worker-10" [_thread_blocked, id=6200, stack(0x09bb0000,0x09bf0000)]
      0x04798800 JavaThread "DefaultQuartzScheduler_Worker-9" [_thread_blocked, id=9068, stack(0x09b30000,0x09b70000)]
      0x04798000 JavaThread "DefaultQuartzScheduler_Worker-8" [_thread_blocked, id=8576, stack(0x09ab0000,0x09af0000)]
      0x045abc00 JavaThread "DefaultQuartzScheduler_Worker-7" [_thread_blocked, id=2504, stack(0x09a30000,0x09a70000)]
      0x045ab800 JavaThread "DefaultQuartzScheduler_Worker-6" [_thread_blocked, id=7820, stack(0x099b0000,0x099f0000)]
      0x045ab000 JavaThread "DefaultQuartzScheduler_Worker-5" [_thread_blocked, id=4604, stack(0x09930000,0x09970000)]
      0x045aa800 JavaThread "DefaultQuartzScheduler_Worker-4" [_thread_blocked, id=3076, stack(0x098b0000,0x098f0000)]
      0x045aa400 JavaThread "DefaultQuartzScheduler_Worker-3" [_thread_blocked, id=8392, stack(0x09830000,0x09870000)]
      0x045a9c00 JavaThread "DefaultQuartzScheduler_Worker-2" [_thread_blocked, id=476, stack(0x097b0000,0x097f0000)]
      0x045a9800 JavaThread "DefaultQuartzScheduler_Worker-1" [_thread_blocked, id=9024, stack(0x09730000,0x09770000)]
      0x045a9000 JavaThread "JaruQuartzScheduler_QuartzSchedulerThread" [_thread_blocked, id=7576, stack(0x00820000,0x00860000)]
      0x045a8c00 JavaThread "Thread-75" [_thread_blocked, id=2132, stack(0x096b0000,0x096f0000)]
      0x045a8400 JavaThread "TacAlarmMon" [_thread_blocked, id=7244, stack(0x09630000,0x09670000)]
      0x045a7c00 JavaThread "Thread-74" [_thread_blocked, id=2728, stack(0x095b0000,0x095f0000)]
      0x045a7800 JavaThread "MonConnMgr3002" [_thread_in_native, id=7444, stack(0x09530000,0x09570000)]
      0x045a7000 JavaThread "Timer-1" [_thread_blocked, id=8272, stack(0x094b0000,0x094f0000)]
      0x045a6c00 JavaThread "Thread-72" [_thread_blocked, id=6512, stack(0x09430000,0x09470000)]
      0x045a6400 JavaThread "MonConnMgr3001" [_thread_in_native, id=5284, stack(0x093b0000,0x093f0000)]
      0x045a6000 JavaThread "Timer-0" [_thread_blocked, id=2932, stack(0x09330000,0x09370000)]
    =>0x045a5400 JavaThread "Thread-69" [_thread_in_native_trans, id=8100, stack(0x090e0000,0x09120000)]
      0x045a4c00 JavaThread "Thread-68" [_thread_blocked, id=7160, stack(0x09060000,0x090a0000)]
      0x045a4400 JavaThread "Thread-67" [_thread_blocked, id=2212, stack(0x08fe0000,0x09020000)]
      0x04875400 JavaThread "Thread-66" [_thread_blocked, id=7180, stack(0x08f60000,0x08fa0000)]
      0x04875000 JavaThread "Thread-65" [_thread_blocked, id=2672, stack(0x08ee0000,0x08f20000)]
      0x04874800 JavaThread "Thread-64" [_thread_blocked, id=8456, stack(0x08e60000,0x08ea0000)]
      0x04874000 JavaThread "Thread-63" [_thread_blocked, id=7708, stack(0x08de0000,0x08e20000)]
      0x04873c00 JavaThread "Thread-62" [_thread_blocked, id=9204, stack(0x08d60000,0x08da0000)]
      0x04873400 JavaThread "Thread-61" [_thread_blocked, id=1496, stack(0x08ce0000,0x08d20000)]
      0x04873000 JavaThread "Thread-60" [_thread_blocked, id=3480, stack(0x08c60000,0x08ca0000)]
      0x04872800 JavaThread "Thread-59" [_thread_blocked, id=7740, stack(0x08be0000,0x08c20000)]
      0x04872400 JavaThread "Thread-58" [_thread_blocked, id=3496, stack(0x08b60000,0x08ba0000)]
      0x04871c00 JavaThread "Thread-57" [_thread_blocked, id=4892, stack(0x08ae0000,0x08b20000)]
      0x04871400 JavaThread "Thread-56" [_thread_blocked, id=5640, stack(0x08a60000,0x08aa0000)]
      0x04871000 JavaThread "Thread-55" [_thread_blocked, id=8120, stack(0x089e0000,0x08a20000)]
      0x04870800 JavaThread "Thread-54" [_thread_blocked, id=5388, stack(0x08960000,0x089a0000)]
      0x04870400 JavaThread "Thread-53" [_thread_blocked, id=7072, stack(0x088e0000,0x08920000)]
      0x0486fc00 JavaThread "Thread-52" [_thread_blocked, id=7184, stack(0x08860000,0x088a0000)]
      0x0486f800 JavaThread "Thread-51" [_thread_blocked, id=8760, stack(0x087e0000,0x08820000)]
      0x0486f000 JavaThread "Thread-50" [_thread_blocked, id=2380, stack(0x08760000,0x087a0000)]
      0x0486e800 JavaThread "Thread-49" [_thread_blocked, id=3616, stack(0x086e0000,0x08720000)]
      0x0486e400 JavaThread "Thread-48" [_thread_blocked, id=5056, stack(0x08660000,0x086a0000)]
      0x0486dc00 JavaThread "Thread-47" [_thread_blocked, id=5468, stack(0x085e0000,0x08620000)]
      0x0485a000 JavaThread "Thread-46" [_thread_blocked, id=8556, stack(0x08560000,0x085a0000)]
      0x04859c00 JavaThread "Thread-45" [_thread_blocked, id=3656, stack(0x084e0000,0x08520000)]
      0x04859400 JavaThread "Thread-44" [_thread_blocked, id=8924, stack(0x08460000,0x084a0000)]
      0x04858c00 JavaThread "Thread-43" [_thread_blocked, id=7536, stack(0x083e0000,0x08420000)]
      0x04858800 JavaThread "Thread-42" [_thread_blocked, id=4368, stack(0x08360000,0x083a0000)]
      0x04858000 JavaThread "Thread-41" [_thread_blocked, id=8488, stack(0x082e0000,0x08320000)]
      0x04857c00 JavaThread "Thread-40" [_thread_blocked, id=6112, stack(0x08260000,0x082a0000)]
      0x04857400 JavaThread "Thread-39" [_thread_blocked, id=6060, stack(0x081e0000,0x08220000)]
      0x04857000 JavaThread "Thread-38" [_thread_blocked, id=9200, stack(0x08160000,0x081a0000)]
      0x04856800 JavaThread "Thread-37" [_thread_blocked, id=5476, stack(0x080e0000,0x08120000)]
      0x04856000 JavaThread "Thread-36" [_thread_blocked, id=2828, stack(0x08060000,0x080a0000)]
      0x04855c00 JavaThread "Thread-35" [_thread_blocked, id=8320, stack(0x07fe0000,0x08020000)]
      0x04855400 JavaThread "Thread-34" [_thread_blocked, id=5668, stack(0x07f60000,0x07fa0000)]
      0x04855000 JavaThread "Thread-33" [_thread_blocked, id=8316, stack(0x07ee0000,0x07f20000)]
      0x04854800 JavaThread "Thread-32" [_thread_blocked, id=4836, stack(0x07e60000,0x07ea0000)]
      0x04854400 JavaThread "Thread-31" [_thread_blocked, id=964, stack(0x07de0000,0x07e20000)]
      0x04853c00 JavaThread "Thread-30" [_thread_blocked, id=4544, stack(0x07d60000,0x07da0000)]
      0x04853400 JavaThread "Thread-29" [_thread_blocked, id=4388, stack(0x07ce0000,0x07d20000)]
      0x04853000 JavaThread "Thread-28" [_thread_blocked, id=7204, stack(0x07c60000,0x07ca0000)]
      0x04852800 JavaThread "Thread-27" [_thread_blocked, id=864, stack(0x07be0000,0x07c20000)]
      0x0482f800 JavaThread "Thread-26" [_thread_blocked, id=6928, stack(0x07b60000,0x07ba0000)]
      0x0482f400 JavaThread "Thread-25" [_thread_blocked, id=7692, stack(0x07ae0000,0x07b20000)]
      0x0482ec00 JavaThread "Thread-24" [_thread_blocked, id=7196, stack(0x07a60000,0x07aa0000)]
      0x0482e400 JavaThread "Thread-23" [_thread_blocked, id=7116, stack(0x079e0000,0x07a20000)]
      0x0482e000 JavaThread "Thread-22" [_thread_blocked, id=4332, stack(0x07960000,0x079a0000)]
      0x0482d800 JavaThread "Thread-21" [_thread_blocked, id=6780, stack(0x078e0000,0x07920000)]
      0x0482d400 JavaThread "Thread-20" [_thread_blocked, id=5700, stack(0x07860000,0x078a0000)]
      0x0482cc00 JavaThread "Thread-19" [_thread_blocked, id=6116, stack(0x077e0000,0x07820000)]
      0x0482c800 JavaThread "Thread-18" [_thread_blocked, id=7824, stack(0x07760000,0x077a0000)]
      0x0482c000 JavaThread "Thread-17" [_thread_blocked, id=9096, stack(0x076e0000,0x07720000)]
      0x0482b800 JavaThread "Thread-16" [_thread_blocked, id=9144, stack(0x07660000,0x076a0000)]
      0x0482b400 JavaThread "Thread-15" [_thread_blocked, id=5336, stack(0x075e0000,0x07620000)]
      0x0482ac00 JavaThread "Thread-14" [_thread_blocked, id=2076, stack(0x07560000,0x075a0000)]
      0x0482a800 JavaThread "Thread-13" [_thread_blocked, id=5300, stack(0x074e0000,0x07520000)]
      0x0482a000 JavaThread "Thread-12" [_thread_blocked, id=4912, stack(0x07460000,0x074a0000)]
      0x04829c00 JavaThread "Thread-11" [_thread_blocked, id=8512, stack(0x073e0000,0x07420000)]
      0x04829400 JavaThread "Thread-10" [_thread_blocked, id=8772, stack(0x07360000,0x073a0000)]
      0x04828c00 JavaThread "Thread-9" [_thread_blocked, id=4380, stack(0x072e0000,0x07320000)]
      0x04828800 JavaThread "Thread-8" [_thread_blocked, id=6076, stack(0x07260000,0x072a0000)]
      0x04828000 JavaThread "RMI Reaper" [_thread_blocked, id=6184, stack(0x071e0000,0x07220000)]
      0x04801c00 JavaThread "Thread-7" [_thread_blocked, id=4168, stack(0x07160000,0x071a0000)]
      0x0496a000 JavaThread "HSQLDB Timer @def14f" daemon [_thread_blocked, id=4616, stack(0x050e0000,0x05120000)]
      0x03bd6c00 JavaThread "C3P0PooledConnectionPoolManager[identityToken->2x760f905j9tmy1l1yrpa|1e2c841]-HelperThread-#2" daemon [_thread_blocked, id=4136, stack(0x05060000,0x050a0000)]
      0x03bd6400 JavaThread "C3P0PooledConnectionPoolManager[identityToken->2x760f905j9tmy1l1yrpa|1e2c841]-HelperThread-#1" daemon [_thread_blocked, id=8356, stack(0x04fe0000,0x05020000)]
      0x03a05400 JavaThread "C3P0PooledConnectionPoolManager[identityToken->2x760f905j9tmy1l1yrpa|1e2c841]-HelperThread-#0" daemon [_thread_blocked, id=5404, stack(0x04f60000,0x04fa0000)]
      0x03a04c00 JavaThread "C3P0PooledConnectionPoolManager[identityToken->2x760f905j9tmy1l1yrpa|1e2c841]-AdminTaskTimer" daemon [_thread_blocked, id=5860, stack(0x041c0000,0x04200000)]
      0x042ae000 JavaThread "GC Daemon" daemon [_thread_blocked, id=5292, stack(0x04140000,0x04180000)]
      0x03a66400 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=8056, stack(0x03fb0000,0x03ff0000)]
      0x03a63c00 JavaThread "RMI TCP Accept-9090" daemon [_thread_in_native, id=2664, stack(0x03f30000,0x03f70000)]
      0x03a42c00 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=8832, stack(0x03da0000,0x03de0000)]
      0x00f56800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4600, stack(0x039a0000,0x039e0000)]
      0x00f47400 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=7060, stack(0x038f0000,0x03960000)]
      0x00f46400 JavaThread "Attach Listener" daemon [_thread_blocked, id=3928, stack(0x03870000,0x038b0000)]
      0x00f43000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4864, stack(0x037f0000,0x03830000)]
      0x00f3c000 JavaThread "Finalizer" daemon [_thread_blocked, id=6164, stack(0x03770000,0x037b0000)]
      0x00f3a800 JavaThread "Reference Handler" daemon [_thread_blocked, id=9004, stack(0x036f0000,0x03730000)]
      0x00eba400 JavaThread "main" [_thread_in_native, id=4904, stack(0x00d80000,0x00df0000)]
    Other Threads:
      0x00efd400 VMThread [stack: 0x03640000,0x036b0000] [id=5172]
      0x03a68400 WatcherThread [stack: 0x04090000,0x04100000] [id=9092]
    VM state:synchronizing (normal execution)
    VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
    [0x00eb8780] Threads_lock - owner thread: 0x00efd400
    Heap
    def new generation   total 142208K, used 109631K [0x10340000, 0x1a9e0000, 0x1a9e0000)
      eden space 113792K,  90% used [0x10340000, 0x167a60c0, 0x17260000)
      from space 28416K,  24% used [0x18e20000, 0x194c9cd8, 0x1a9e0000)
      to   space 28416K,   0% used [0x17260000, 0x17260000, 0x18e20000)
    tenured generation   total 341376K, used 148495K [0x1a9e0000, 0x2f740000, 0x2f740000)
       the space 341376K,  43% used [0x1a9e0000, 0x23ae3f10, 0x23ae4000, 0x2f740000)
    compacting perm gen  total 145408K, used 59874K [0x2f740000, 0x38540000, 0x38540000)
       the space 145408K,  41% used [0x2f740000, 0x331b88a8, 0x331b8a00, 0x38540000)
        ro space 10240K,  51% used [0x38540000, 0x38a73000, 0x38a73000, 0x38f40000)
        rw space 12288K,  55% used [0x38f40000, 0x395de4f8, 0x395de600, 0x39b40000)
    Code Cache  [0x013b0000, 0x02378000, 0x033b0000)
    total_blobs=6549 nmethods=6302 adapters=179 free_code_cache=17026624 largest_free_block=384
    Dynamic libraries:
    0x00400000 - 0x00417000 C:\Program Files (x86)\Tomcat\bin\Tomcat.exe
    0x771c0000 - 0x77340000 C:\Windows\SysWOW64\ntdll.dll
    0x76ac0000 - 0x76bd0000 C:\Windows\syswow64\kernel32.dll
    0x752f0000 - 0x75336000 C:\Windows\syswow64\KERNELBASE.dll
    0x758f0000 - 0x75990000 C:\Windows\syswow64\ADVAPI32.dll
    0x75830000 - 0x758dc000 C:\Windows\syswow64\msvcrt.dll
    0x74e10000 - 0x74e29000 C:\Windows\SysWOW64\sechost.dll
    0x75710000 - 0x75800000 C:\Windows\syswow64\RPCRT4.dll
    0x74d20000 - 0x74d80000 C:\Windows\syswow64\SspiCli.dll
    0x74d10000 - 0x74d1c000 C:\Windows\syswow64\CRYPTBASE.dll
    0x75ac0000 - 0x7670a000 C:\Windows\syswow64\SHELL32.dll
    0x75290000 - 0x752e7000 C:\Windows\syswow64\SHLWAPI.dll
    0x74d80000 - 0x74e10000 C:\Windows\syswow64\GDI32.dll
    0x76760000 - 0x76860000 C:\Windows\syswow64\USER32.dll
    0x758e0000 - 0x758ea000 C:\Windows\syswow64\LPK.dll
    0x74e30000 - 0x74ecd000 C:\Windows\syswow64\USP10.dll
    0x75340000 - 0x753a0000 C:\Windows\system32\IMM32.DLL
    0x751c0000 - 0x7528c000 C:\Windows\syswow64\MSCTF.dll
    0x6d810000 - 0x6dac0000 C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll
    0x74140000 - 0x74172000 C:\Windows\system32\WINMM.dll
    0x7c340000 - 0x7c396000 C:\Windows\system32\MSVCR71.dll
    0x740f0000 - 0x7413c000 C:\Windows\system32\apphelp.dll
    0x6d7c0000 - 0x6d7cc000 C:\Program Files (x86)\Java\jre6\bin\verify.dll
    0x6d330000 - 0x6d34f000 C:\Program Files (x86)\Java\jre6\bin\java.dll
    0x6d800000 - 0x6d80f000 C:\Program Files (x86)\Java\jre6\bin\zip.dll
    0x76bd0000 - 0x76d2c000 C:\Windows\syswow64\ole32.dll
    0x6d560000 - 0x6d569000 C:\Program Files (x86)\Java\jre6\bin\management.dll
    0x6d610000 - 0x6d623000 C:\Program Files (x86)\Java\jre6\bin\net.dll
    0x753e0000 - 0x75415000 C:\Windows\syswow64\WS2_32.dll
    0x75990000 - 0x75996000 C:\Windows\syswow64\NSI.dll
    0x74880000 - 0x748bc000 C:\Windows\system32\mswsock.dll
    0x747d0000 - 0x747d6000 C:\Windows\System32\wship6.dll
    0x748d0000 - 0x748e0000 C:\Windows\system32\NLAapi.dll
    0x748c0000 - 0x748d0000 C:\Windows\system32\napinsp.dll
    0x74830000 - 0x74874000 C:\Windows\system32\DNSAPI.dll
    0x74820000 - 0x74828000 C:\Windows\System32\winrnr.dll
    0x747e0000 - 0x747e5000 C:\Windows\System32\wshtcpip.dll
    0x74800000 - 0x7481c000 C:\Windows\system32\IPHLPAPI.DLL
    0x747f0000 - 0x747f7000 C:\Windows\system32\WINNSI.DLL
    0x747c0000 - 0x747c6000 C:\Windows\system32\rasadhlp.dll
    0x74780000 - 0x747b8000 C:\Windows\System32\fwpuclnt.dll
    0x74750000 - 0x74766000 C:\Windows\system32\CRYPTSP.dll
    0x744d0000 - 0x7450b000 C:\Windows\system32\rsaenh.dll
    0x74030000 - 0x7403b000 C:\Windows\system32\profapi.dll
    0x6d7a0000 - 0x6d7a8000 C:\Program Files (x86)\Java\jre6\bin\sunmscapi.dll
    0x759a0000 - 0x75abd000 C:\Windows\syswow64\CRYPT32.dll
    0x753d0000 - 0x753dc000 C:\Windows\syswow64\MSASN1.dll
    0x6d630000 - 0x6d639000 C:\Program Files (x86)\Java\jre6\bin\nio.dll
    0x10000000 - 0x10047000 C:\Windows\System32\corojdk11.dll
    0x74ed0000 - 0x74f5f000 C:\Windows\syswow64\OLEAUT32.dll
    0x75420000 - 0x754a3000 C:\Windows\syswow64\CLBCatQ.DLL
    0x744c0000 - 0x744ce000 C:\Windows\system32\RpcRtRemote.dll
    0x74180000 - 0x741df000 C:\Windows\system32\SXS.DLL
    0x0b820000 - 0x0b853000 C:\Program Files (x86)\Tomcat\bin\HASPJava.dll
    0x0b860000 - 0x0bb4d000 C:\Program Files (x86)\Tomcat\bin\hasp_windows_87368.dll
    0x74c50000 - 0x74c57000 C:\Windows\system32\WSOCK32.DLL
    0x6d000000 - 0x6d14c000 C:\Program Files (x86)\Java\jre6\bin\awt.dll
    0x73c20000 - 0x73c71000 C:\Windows\system32\WINSPOOL.DRV
    0x74430000 - 0x744b4000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_ec83dffa859149af\COMCTL32.dll
    0x6eb40000 - 0x6eb53000 C:\Windows\system32\DWMAPI.DLL
    0x6d230000 - 0x6d286000 C:\Program Files (x86)\Java\jre6\bin\fontmanager.dll
    0x77190000 - 0x77195000 C:\Windows\system32\PSAPI.DLL
    VM Arguments:
    jvm_args: -Dcatalina.home=C:\Program Files (x86)\Tomcat -Dcatalina.base=C:\Program Files (x86)\Tomcat -Djava.endorsed.dirs=C:\Program Files (x86)\Tomcat\endorsed -Djava.io.tmpdir=C:\Program Files (x86)\Tomcat\temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=C:\Program Files (x86)\Tomcat\conf\logging.properties -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=c:\progra~2\tomcat -Xms500m -Xmx500m -XX:SurvivorRatio=4 -XX:PermSize=143m -XX:MaxPermSize=143m -Xss200k -XX:+PrintGC -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:TomcatGarbageCollection -Dcom.sun.management.jmxremote.port=9090 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote=true
    java_command: <unknown>
    Launcher Type: generic
    Environment Variables:
    PATH=Y:\Legato\nsr\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Tivoli\IBM\ITM\bin;c:\Tivoli\IBM\ITM\InstallITM;c:\Tivoli\IBM\ITM\TMAITM6;C:\Program Files (x86)\Tomcat\lib
    USERNAME=NCDWSMNASP0101$
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 44 Stepping 2, GenuineIntel
    ---------------  S Y S T E M  ---------------
    OS: Windows NT 6.1 , 64 bit Build 7601 Service Pack 1
    CPU:total 4 (1 cores per cpu, 1 threads per core) family 6 model 44 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt
    Memory: 4k page, physical 4193848k(1041944k free), swap 8385852k(5027848k free)
    vm_info: Java HotSpot(TM) Client VM (20.45-b01) for windows-x86 JRE (1.6.0_45-b06), built on Mar 26 2013 13:40:03 by "java_re" with MS VC++ 7.1 (VS2003)
    time: Sun Feb 09 19:41:33 2014
    elapsed time: 31207 seconds

    Thanks a lot.
    HASPJava.dll is used by verification  License and is invoked less and can't use a lot of native memory.
    Our business is communicating between java and COM component. In order to implement it, we used JavaCom to generate java class for COM component.
    Memory of COM component is little, but Native Memory is high.
    Who used JavaCom and did you meet this problem?
    Please give me some suggestions. Thanks a lot.

  • What's up with my Virtual Memory?

    I've got a MacBook Pro 15" 2Ghz Core i7 running the 10.8.4 with all updates and 16gb of ram. I notice a couple of odd things over the course of a multiday session:
    - Over a few days of usage launching and quiting most apps but with Mail, Terminal, LaunchBar and Safari running constantly, memory and virtual memory usage grow to the point where I have only a few dozen Mb of ram left and over 12 Gb of Virtual Memory consumed.
    - Odder still is never, ever, in any session regardless how long, do my virtual memory statistics show more than 14 hits, not 14%, 14 all during boot time, despite hundreds of thousand of page-ins and lookups, and millions (22 million + this session) page faults.
    I've noticed that Safari is the main culprit with memory consumption as it only frees up the bulk of any used if quit and relaunched. Even closing all tabs and windows has little to no affect on memory or virtual memory usage, but I have no idea why lookups once the machine is booted never, ever result in a hit despite a constantly growing number and size of swapfiles. Its almost as if Lion is encrypting the swaps but then doesn't have access to read them though I don't know how that might come about.
    Anyone care to offer suggestions as to cause or debugging/troubleshooting tips?
    Other notes:
    This has been happening at least since 10.7.x.
    Aside from apps listed above, other frequent apps are, Adobe Photoshop 5.5.x, Lightroom 5, LaunchBar, and ocassional MS Office 2011 with all updates.
    Thanks,
    David

    About OS X Memory Management and Usage
    Using Activity Monitor to read System Memory & determine how much RAM is used
    Memory Management in Mac OS X
    Performance Guidelines- Memory Management in Mac OS X
    A detailed look at memory usage in OS X
    Memory Usage Performance Guidelines- About the Virtual Memory System
    Understanding top output in the Terminal
    The amount of available RAM for applications is the sum of Free RAM and Inactive RAM. This will change as applications are opened and closed or change from active to inactive status. The Swap figure represents an estimate of the total amount of swap space required for VM if used, but does not necessarily indicate the actual size of the existing swap file. If you are really in need of more RAM that would be indicated by how frequently the system uses VM. If you open the Terminal and run the top command at the prompt you will find information reported on Pageins () and Pageouts (). Pageouts () is the important figure. If the value in the parentheses is 0 (zero) then OS X is not making instantaneous use of VM which means you have adequate physical RAM for the system with the applications you have loaded. If the figure in parentheses is running positive and your hard drive is constantly being used (thrashing) then you need more physical RAM.
    Adding RAM only makes it possible to run more programs concurrently.  It doesn't speed up the computer nor make games run faster.  What it can do is prevent the system from having to use disk-based VM when it runs out of RAM because you are trying to run too many applications concurrently or using applications that are extremely RAM dependent.  It will improve the performance of applications that run mostly in RAM or when loading programs.

  • How to change Virtual Memory in Windows 7 with SSD and 16GB RAM

    I have SSD Samsung 850Pro with OS Windows 7 and have installed physical RAM 16GB.
    In Adobe Help/Optimize performance/Photoshop written :
    " To change Virtual Memory in Windows 7 and Vista, quit all applications and then do the following:
    Choose Start > Control Panel, and double-click System.
    Choose Advanced System Settings in the Tasks list.
    Select the Advanced tab and click Settings in the Performance section.
    Select the Advanced tab and click Change.
    Deselect Automatically Manage Paging File Size For All Drives.
    Click each hard disk letter to show the available space on that drive. Select a hard drive that has three times the amount of your computer’s installed RAM and doesn’t contain a scratch disk.
      Select Custom Size, and type the amount of your physical RAM plus 300 MB in the Initial Size box. Type three times the amount of your computer’s installed RAM into the Maximum Size box. 
    Click Set, and then click OK. Continue to click OK to exit all dialog boxes.
    Restart the computer: If you have applications open, select Restart Later, close your applications, then restart Windows. Otherwise, click Restart Now. "
    Select Custom Size, and type the amount of your physical RAM plus 300 MB in the Initial Size box. Type three times the amount of your computer’s installed RAM into the Maximum Size box.
    I have 16GB RAM
    in the Initial Size box : 16384+300=16684MB
    in the Maximum Size box:16684x3=50052MB
    but in the description of SSD written :
    " In order to address any potential lack of memory capacity, the Windows operating system automatically generates a block of virtual memory (pagefile.sys) on the C: drive.  For example, a Windows® 7 64-bit system with 4 GB of physical memory would generate 4 GB of virtual memory at boot time.
    In the past, before PC Memory (DRAM Modules) were available in high volume, PCs needed to utilize some HDD space to address any memory shortcomings. Today, with PCs featuring 4 GB of memory or more, it is possible to reduce or even eliminate the use of virtual memory.  Additionally, using expanded physical memory, rather than creating virtual memory on the SSD, has performance and reliability advantages for the entire system.  Some applications may require the use of virtual memory. In this case, please consider your specific application requirements before disabling this feature!!! ”..."SET virtual memory in the Initial Size Box :200MB and in the Maximum Size box: 2048MB"
    what is the right choice ???
    Please Help

    Windows set to default virtual memory : 16348 MB =16GB !
    But SSD program Samsung Magician wants virtual memory between in the Initial Size Box :200MB and in the Maximum Size box: 2048MB or 4096MB. If more than 8GB suggests that SSD will work slowly.
    Perhaps the description in Adobe execution Help / Optimize / Photoshop is not correct or ?

Maybe you are looking for