Tracking memory usage

I have run to a memory limitation problem with my MIDP 1 application. So I'm trying to track memory usage. However I found out that WTK memory monitor gives me different results then Runtime memory functions (by calling Runtime.getRuntime().freeMemory()). In particular, Runtime.freeMemory shows less available heap dynamic memory than WTK memory monitor.
How can I then find out what is taking up the memory space that WTK memory monitor hides from me?
Also calling Runtime.freeMemory at the very begining at the start of my application shows me that there is roughly 90KBytes of heap memory in use. What is taking up this space?
Thanks for any hints!
Hynek Cihlar

Of course I did that. I wouldn't have gotten correct results with Runtime.freeMemory if I hadn't done that.
But thanks for the reply ;-).

Similar Messages

  • Tracking Memory usage on iOS using the Stats class

    I've been checking memory usage on an app I'm developing for iOS using the Stats class https://github.com/mrdoob/Hi-ReS-Stats ( http://help.adobe.com/en_US/as3/mobile/WS4bebcd66a74275c3-315cd077124319488fd-7fff.html#WS 948100b6829bd5a61637f0a412623fd0543-8000).
    I added the Stats class to my project and redeployed and, yikes, memory usage reported in Stats creeps up (pretty slowly) even when there's nothing happening in the app (just showing a loaded bitmap).
    To try and track down the issue I created a project with a test class that extends Sprite with just this single call in the constructor :-
    addChild( new Stats() );
    I deployed it to the device to check that it didn't gobble any memory.
    But I was Suprised to watch the memory usage creep up and up (to approx 5) before some garbage collection kicked in and takes memory back down. I left it running and then it crept up again to over 7.5 this time before being kicked back down to just below 3.
    So 2 related questions that I'd appreciate any feedback/observations/thoughts on :-
    1 - Is this normal (i.e. memory creeping up when there's nothing other than Stats in the project) ?
    2 - What is the best way to monitor memory usage within an app ? Is Stats good enough - is Stats itself causing the memory usage ?
    All the best guys !

    Also see thread (http://forums.adobe.com/message/4280020#4280020)
    My conclusions are :-
    - If you run an app and leave it idle, memory usage gradually creeps up (presumably as memory is being used to perform calcs/refresh the display etc)
    - Periodically the garbage collection kicks in and memory is brought back down
    - This cycle could be in excess of 5 mins
    Run with your real app and memory will increase and be released much more rapidly/regularly.
    - It's probably worth performing initial checks by running on your desktop to iron out any initial problems

  • Sudden high memory usage, can't find cause

    I did a big update yesterday, and today I've started to notice very high memory usage. I wasn't keeping track before so I can't say how much it increased, but I've never had problems before, and the slowness and lack of responsiveness have been noticeable, though I haven't ruled out other possible causes for that. Here's the output of 'free -m':
    total used free shared buffers cached
    Mem: 7971 7826 144 0 1 149
    -/+ buffers/cache: 7674 296
    Swap: 9215 458 8757
    It wasn't as bad as that right after startup, though usage still seemed suspiciously high. What makes this whole thing a mystery to me is that none of my running processes seem to be using that much memory!  Here's the output of 'top -b -n 1':
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    1 root 20 0 32712 544 384 S 0.0 0.0 0:01.32 systemd
    2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
    3 root 20 0 0 0 0 S 0.0 0.0 0:02.48 ksoftirqd/0
    5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H
    7 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
    8 root 20 0 0 0 0 S 0.0 0.0 0:15.55 rcu_preempt
    9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh
    10 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_sched
    11 root rt 0 0 0 0 S 0.0 0.0 0:00.05 watchdog/0
    12 root rt 0 0 0 0 S 0.0 0.0 0:00.04 watchdog/1
    13 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/1
    14 root 20 0 0 0 0 S 0.0 0.0 0:01.02 ksoftirqd/1
    16 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/1:0H
    17 root rt 0 0 0 0 S 0.0 0.0 0:00.04 watchdog/2
    18 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/2
    19 root 20 0 0 0 0 S 0.0 0.0 0:01.17 ksoftirqd/2
    20 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/2:0
    21 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/2:0H
    22 root rt 0 0 0 0 S 0.0 0.0 0:00.04 watchdog/3
    23 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/3
    24 root 20 0 0 0 0 S 0.0 0.0 0:01.04 ksoftirqd/3
    26 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/3:0H
    27 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper
    28 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kdevtmpfs
    29 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns
    30 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 writeback
    31 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 bioset
    32 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kblockd
    33 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 xenbus_frontend
    35 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khungtaskd
    36 root 20 0 0 0 0 S 0.0 0.0 0:06.75 kswapd0
    37 root 25 5 0 0 0 S 0.0 0.0 0:00.00 ksmd
    38 root 39 19 0 0 0 S 0.0 0.0 0:00.24 khugepaged
    39 root 20 0 0 0 0 S 0.0 0.0 0:00.00 fsnotify_mark
    40 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 crypto
    44 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kthrotld
    47 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 deferwq
    49 root 20 0 0 0 0 S 0.0 0.0 0:00.21 kworker/1:1
    61 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 ata_sff
    63 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0
    65 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_1
    68 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_2
    69 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_3
    70 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_4
    71 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_5
    76 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khubd
    81 root 20 0 0 0 0 S 0.0 0.0 0:00.02 kworker/3:2
    93 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 firewire
    94 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_6
    95 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_7
    96 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_8
    97 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_9
    100 root 0 -20 0 0 0 S 0.0 0.0 0:01.31 kworker/0:1H
    104 root 20 0 0 0 0 S 0.0 0.0 0:00.03 jbd2/sda3-8
    105 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 ext4-dio-unwrit
    119 root 20 0 182720 324 228 S 0.0 0.0 0:02.90 systemd-journal
    130 root 20 0 32032 320 316 S 0.0 0.0 0:00.16 systemd-udevd
    133 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/1:2
    150 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 rpciod
    152 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 nfsiod
    160 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/1:1H
    162 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/3:1H
    189 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cfg80211
    191 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 led_workqueue
    216 root -51 0 0 0 0 S 0.0 0.0 0:00.00 irq/53-mei_me
    220 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/2:1H
    255 root 20 0 0 0 0 S 0.0 0.0 0:00.59 jbd2/sda2-8
    256 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 ext4-dio-unwrit
    267 root 20 0 13236 340 260 S 0.0 0.0 0:00.02 crond
    268 root 20 0 57644 524 232 S 0.0 0.0 0:00.07 syslog-ng
    275 root 20 0 77896 2164 52 S 0.0 0.0 0:00.11 cupsd
    276 root 20 0 32856 32 0 S 0.0 0.0 0:00.53 atieventsd
    278 root 20 0 26120 452 448 S 0.0 0.0 0:00.00 systemd-logind
    280 dbus 20 0 18040 1040 484 S 0.0 0.0 0:00.16 dbus-daemon
    293 root 20 0 8156 32 28 S 0.0 0.0 0:00.04 agetty
    294 root 20 0 22416 304 304 S 0.0 0.0 0:00.00 kdm
    311 root 20 0 32332 52 0 S 0.0 0.0 0:00.10 wpa_supplicant
    314 root 20 0 4252 44 28 S 0.0 0.0 0:02.61 acpid
    363 root 20 0 233544 396 396 S 0.0 0.0 0:00.12 colord
    370 root 20 0 0 0 0 S 0.0 0.0 0:00.00 firegl
    371 root 20 0 0 0 0 S 0.0 0.0 0:00.00 firegl
    372 root 20 0 0 0 0 S 0.0 0.0 0:00.00 firegl
    379 root 20 0 8612 60 16 S 0.0 0.0 0:00.00 dhcpcd
    462 redac 20 0 15212 68 0 S 0.0 0.0 0:00.37 gpg-agent
    465 redac 20 0 12680 4 0 S 0.0 0.0 0:00.00 ssh-agent
    504 root 20 0 229584 440 284 S 0.0 0.0 0:00.03 upowerd
    507 polkitd 20 0 506832 916 700 S 0.0 0.0 0:00.09 polkitd
    563 root 20 0 355656 1804 1044 S 0.0 0.0 0:01.50 udisksd
    628 redac 20 0 2397180 17068 2004 S 0.0 0.2 0:04.86 mysqld
    796 rtkit 21 1 168664 372 360 S 0.0 0.0 0:00.34 rtkit-daemon
    873 pdnsd 20 0 172532 0 0 S 0.0 0.0 0:00.00 pdnsd
    874 tor 20 0 49952 20556 2152 S 0.0 0.3 0:05.89 tor
    1884 root 20 0 361452 118644 105076 S 0.0 1.5 1:21.43 X
    1895 root 20 0 75048 660 656 S 0.0 0.0 0:00.00 kdm
    1903 redac 20 0 13736 412 408 S 0.0 0.0 0:00.01 startkde
    1912 redac 20 0 18016 324 320 S 0.0 0.0 0:00.00 dbus-launch
    1913 redac 20 0 19220 1604 564 S 0.0 0.0 0:00.50 dbus-daemon
    1959 redac 20 0 12680 52 48 S 0.0 0.0 0:00.00 ssh-agent
    1976 root 20 0 4080 40 0 S 0.0 0.0 0:00.00 start_kdeinit
    1977 redac 20 0 343772 1976 1420 S 0.0 0.0 0:00.07 kdeinit4
    1978 redac 20 0 348392 2680 1824 S 0.0 0.0 0:00.04 klauncher
    1980 redac 20 0 1262136 5352 3596 S 0.0 0.1 0:00.48 kded4
    1991 redac 20 0 430604 4032 2840 S 0.0 0.0 0:00.11 kglobalaccel
    1995 redac 20 0 694524 3020 2520 S 0.0 0.0 0:00.10 kactivitymanage
    2000 redac 20 0 4216 44 44 S 0.0 0.0 0:00.00 kwrapper4
    2001 redac 20 0 516344 3224 2300 S 0.0 0.0 0:00.10 ksmserver
    2009 redac 20 0 422056 19640 15244 S 0.0 0.2 0:23.69 compiz
    2012 redac 20 0 388168 7692 4544 S 0.0 0.1 0:01.26 emerald
    2023 redac 20 0 280300 2500 2160 S 0.0 0.0 0:00.06 kuiserver
    2025 redac 20 0 154132 1848 1344 S 0.0 0.0 0:00.24 akonadi_control
    2027 redac 20 0 1949412 1984 1592 S 0.0 0.0 0:00.33 akonadiserver
    2059 redac 20 0 346680 1408 1020 S 0.0 0.0 0:00.04 kio_http_cache_
    2062 redac 20 0 769220 4932 3436 S 0.0 0.1 0:01.00 krunner
    2071 redac 20 0 603092 4484 3132 S 0.0 0.1 0:00.16 kmix
    2073 redac 20 0 285208 2680 2352 S 0.0 0.0 0:00.04 nepomukcontroll
    2074 redac 20 0 359260 3148 2864 S 0.0 0.0 0:00.25 gtk-kde4
    2077 redac 20 0 309608 2468 2220 S 0.0 0.0 0:00.05 akonadi_agent_l
    2078 redac 20 0 309512 2332 2140 S 0.0 0.0 0:00.04 akonadi_agent_l
    2079 redac 20 0 309496 2564 2336 S 0.0 0.0 0:00.05 akonadi_agent_l
    2080 redac 20 0 309608 2476 2224 S 0.0 0.0 0:00.05 akonadi_agent_l
    2081 redac 20 0 549804 3236 2480 S 0.0 0.0 0:00.13 akonadi_archive
    2082 redac 20 0 303140 2480 2276 S 0.0 0.0 0:00.04 akonadi_agent_l
    2083 redac 20 0 305600 2516 2300 S 0.0 0.0 0:00.05 akonadi_agent_l
    2084 redac 20 0 314988 4144 3156 S 0.0 0.1 0:00.12 akonadi_imap_re
    2099 redac 20 0 430912 15668 9912 S 0.0 0.2 0:09.39 yakuake
    2100 redac 20 0 309676 2560 2308 S 0.0 0.0 0:00.04 akonadi_agent_l
    2101 redac 20 0 339400 2860 2468 S 0.0 0.0 0:00.09 akonadi_maildis
    2102 redac 20 0 549820 2828 2504 S 0.0 0.0 0:00.13 akonadi_mailfil
    2103 redac 20 0 314052 2924 2508 S 0.0 0.0 0:00.09 akonadi_nepomuk
    2115 redac 20 0 303056 2428 2240 S 0.0 0.0 0:00.04 akonadi_agent_l
    2132 redac 20 0 2011628 14200 5716 S 0.0 0.2 0:18.21 ktorrent
    2158 redac 20 0 15972 836 520 S 0.0 0.0 0:00.00 bash
    2161 redac 20 0 1040928 6484 3060 S 0.0 0.1 0:00.53 knotify4
    2162 redac 20 0 1962616 484928 23072 S 0.0 5.9 2:06.25 firefox
    2176 redac 20 0 13732 344 340 S 0.0 0.0 0:00.00 rssowl
    2178 redac 20 0 11344 404 404 S 0.0 0.0 0:00.00 RSSOwl
    2193 redac 20 0 374420 2764 2516 S 0.0 0.0 0:00.06 polkit-kde-auth
    2195 redac 20 0 3314212 140484 13196 S 0.0 1.7 0:24.29 java
    2203 redac 9 -11 308256 2424 912 S 0.0 0.0 0:00.36 pulseaudio
    2209 redac 20 0 406420 3544 2720 S 0.0 0.0 0:00.08 korgac
    2233 redac 20 0 69156 420 420 S 0.0 0.0 0:00.00 gconf-helper
    2235 redac 20 0 45676 836 564 S 0.0 0.0 0:00.01 gconfd-2
    2236 redac 20 0 438044 4468 3128 S 0.0 0.1 0:00.13 klipper
    2322 redac 20 0 193052 944 740 S 0.0 0.0 0:00.00 gvfsd
    2336 redac 20 0 282112 644 644 S 0.0 0.0 0:00.00 gvfsd-fuse
    2361 redac 20 0 263576 572 572 S 0.0 0.0 0:00.00 at-spi-bus-laun
    2436 redac 20 0 3188512 61188 19352 S 0.0 0.7 0:16.98 plasma-desktop
    2441 redac 20 0 9828 784 520 S 0.0 0.0 0:01.06 ksysguardd
    2832 redac 20 0 15580 1240 784 S 0.0 0.0 0:02.93 top
    2867 redac 20 0 15972 1796 1160 S 0.0 0.0 0:00.03 bash
    2937 root 20 0 0 0 0 S 0.0 0.0 0:00.03 kworker/2:1
    2938 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/3:1
    3336 root 20 0 0 0 0 S 0.0 0.0 0:00.25 kworker/u8:2
    3643 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/u8:1
    3662 root 20 0 0 0 0 S 0.0 0.0 0:00.03 kworker/0:1
    3703 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0
    3704 redac 20 0 15456 1308 992 R 0.0 0.0 0:00.00 top
    32506 root 20 0 0 0 0 S 0.0 0.0 0:00.57 kworker/0:2
    I wouldn't expect the '%MEM's to add up to exactly the real usage, but this isn't even close! So, what could be using up all of my memory? I have /tmp mounted to ram, but that's only a few megabytes. I really have no idea where to go from here.
    The relevant portion of my pacman log is below, since I don't know how to get just a compact list of the updated packages. Most notably, the kernel was upgrades, from 3.9.9-1 to 3.10.3-1.
    [2013-08-03 13:00] [PACMAN] Running 'pacman -Su'
    [2013-08-03 13:00] [PACMAN] starting full system upgrade
    [2013-08-03 13:38] [PACMAN] upgraded a52dec (0.7.4-6 -> 0.7.4-7)
    [2013-08-03 13:38] [PACMAN] upgraded libmariadbclient (5.5.31-1 -> 5.5.32-1)
    [2013-08-03 13:38] [PACMAN] upgraded mariadb-clients (5.5.31-1 -> 5.5.32-1)
    [2013-08-03 13:38] [PACMAN] upgraded mariadb (5.5.31-1 -> 5.5.32-1)
    [2013-08-03 13:38] [PACMAN] upgraded akonadi (1.10.0-2 -> 1.10.2-1)
    [2013-08-03 13:38] [PACMAN] upgraded alsa-plugins (1.0.27-1 -> 1.0.27-2)
    [2013-08-03 13:38] [PACMAN] upgraded alsa-utils (1.0.27.1-2 -> 1.0.27.2-1)
    [2013-08-03 13:38] [PACMAN] upgraded x264 (20130206-1 -> 20130702-2)
    [2013-08-03 13:38] [PACMAN] upgraded ffmpeg (1:1.2.1-1 -> 1:2.0-2)
    [2013-08-03 13:38] [PACMAN] upgraded amarok (2.7.1-2 -> 2.7.1-3)
    [2013-08-03 13:38] [PACMAN] upgraded anki (2.0.11-1 -> 2.0.12-1)
    [2013-08-03 13:38] [PACMAN] upgraded apr (1.4.6-1 -> 1.4.8-1)
    [2013-08-03 13:38] [PACMAN] upgraded glib2 (2.36.3-2 -> 2.36.3-3)
    [2013-08-03 13:38] [ALPM] warning: /usr/lib/avahi/service-types.db installed as /usr/lib/avahi/service-types.db.pacnew
    [2013-08-03 13:38] [PACMAN] upgraded avahi (0.6.31-9 -> 0.6.31-10)
    [2013-08-03 13:38] [PACMAN] upgraded bison (2.7.1-1 -> 3.0-1)
    [2013-08-03 13:38] [ALPM-SCRIPTLET] ---------------- I/O BUG ---------------------------------------
    [2013-08-03 13:38] [ALPM-SCRIPTLET] There's a bug in fglrx found by lano1106 which generates
    [2013-08-03 13:38] [ALPM-SCRIPTLET] great amount of unneeded I/O operations
    [2013-08-03 13:38] [ALPM-SCRIPTLET]
    [2013-08-03 13:38] [ALPM-SCRIPTLET] To activate workaround enable systemd service:
    [2013-08-03 13:38] [ALPM-SCRIPTLET] systemctl enable temp-links-catalyst
    [2013-08-03 13:38] [ALPM-SCRIPTLET] systemctl start temp-links-catalyst
    [2013-08-03 13:38] [ALPM-SCRIPTLET]
    [2013-08-03 13:38] [ALPM-SCRIPTLET] More infos:
    [2013-08-03 13:38] [ALPM-SCRIPTLET] https://bbs.archlinux.org/viewtopic.php?pid=1279977#p1279977
    [2013-08-03 13:38] [ALPM-SCRIPTLET] https://bbs.archlinux.org/viewtopic.php?pid=1280193#p1280193
    [2013-08-03 13:38] [ALPM-SCRIPTLET] ----------------------------------------------------------------
    [2013-08-03 13:38] [PACMAN] upgraded catalyst-utils (13.6-3 -> 13.8-1)
    [2013-08-03 13:38] [ALPM-SCRIPTLET] + removing fglrx module from /usr/lib/modules/3.9.9-1-ARCH
    [2013-08-03 13:38] [ALPM-SCRIPTLET] Building fglrx module for 3.9.9-1-ARCH kernel ...
    [2013-08-03 13:38] [ALPM-SCRIPTLET] Ok.
    [2013-08-03 13:38] [ALPM-SCRIPTLET] ----------------------------------------------------------------
    [2013-08-03 13:38] [ALPM-SCRIPTLET] ATTENTION!
    [2013-08-03 13:38] [ALPM-SCRIPTLET] ----------------------------------------------------------------
    [2013-08-03 13:38] [ALPM-SCRIPTLET] To enable 'automatic re-compilation while system shutdown/reboot'
    [2013-08-03 13:38] [ALPM-SCRIPTLET] testing feature run these commands as root:
    [2013-08-03 13:38] [ALPM-SCRIPTLET] systemctl enable catalyst-hook
    [2013-08-03 13:38] [ALPM-SCRIPTLET] systemctl start catalyst-hook
    [2013-08-03 13:38] [ALPM-SCRIPTLET]
    [2013-08-03 13:38] [ALPM-SCRIPTLET] More info here:
    [2013-08-03 13:38] [ALPM-SCRIPTLET] https://bbs.archlinux.org/viewtopic.php?pid=1255575#p1255575
    [2013-08-03 13:38] [ALPM-SCRIPTLET] ----------------------------------------------------------------
    [2013-08-03 13:38] [PACMAN] upgraded catalyst-hook (13.6-3 -> 13.8-1)
    [2013-08-03 13:38] [PACMAN] upgraded chromaprint (0.7-5 -> 0.7-6)
    [2013-08-03 13:38] [PACMAN] upgraded nspr (4.9.6-1 -> 4.10-2)
    [2013-08-03 13:38] [PACMAN] upgraded nss (3.14.3-3 -> 3.15.1-1)
    [2013-08-03 13:38] [PACMAN] upgraded xdg-utils (1.1.0.git20121008-2 -> 1.1.0.git20130520-1)
    [2013-08-03 13:38] [PACMAN] upgraded libgcrypt (1.5.2-1 -> 1.5.3-1)
    [2013-08-03 13:38] [PACMAN] upgraded libpng (1.6.2-3 -> 1.6.3-1)
    [2013-08-03 13:38] [PACMAN] upgraded xcb-proto (1.8-1 -> 1.8-2)
    [2013-08-03 13:38] [PACMAN] upgraded libxcb (1.9.1-1 -> 1.9.1-2)
    [2013-08-03 13:38] [PACMAN] upgraded libx11 (1.6.0-1 -> 1.6.1-1)
    [2013-08-03 13:38] [PACMAN] upgraded giflib (4.2.1-3 -> 5.0.4-2)
    [2013-08-03 13:38] [PACMAN] upgraded libwebp (0.3.1-2 -> 0.3.1-3)
    [2013-08-03 13:38] [PACMAN] upgraded harfbuzz (0.9.18-1 -> 0.9.19-1)
    [2013-08-03 13:38] [PACMAN] upgraded harfbuzz-icu (0.9.18-1 -> 0.9.19-1)
    [2013-08-03 13:38] [PACMAN] upgraded chromium (28.0.1500.71-1 -> 28.0.1500.95-1)
    [2013-08-03 13:38] [PACMAN] upgraded glew (1.9.0-2 -> 1.10.0-1)
    [2013-08-03 13:38] [PACMAN] upgraded projectm (2.1.0-5 -> 2.1.0-6)
    [2013-08-03 13:39] [PACMAN] upgraded clementine (1.1.1-8 -> 1.1.1-9)
    [2013-08-03 13:39] [PACMAN] upgraded cln (1.3.2-1 -> 1.3.3-1)
    [2013-08-03 13:39] [PACMAN] upgraded gstreamer (1.0.8-1 -> 1.0.9-1)
    [2013-08-03 13:39] [PACMAN] upgraded gst-plugins-base-libs (1.0.8-1 -> 1.0.9-1)
    [2013-08-03 13:39] [PACMAN] upgraded gst-plugins-bad (1.0.8-1 -> 1.0.9-1)
    [2013-08-03 13:39] [PACMAN] upgraded clutter-gst (2.0.4-2 -> 2.0.6-1)
    [2013-08-03 13:39] [PACMAN] upgraded colord (1.0.2-1 -> 1.0.2-2)
    [2013-08-03 13:39] [PACMAN] upgraded cracklib (2.8.22-3 -> 2.9.0-1)
    [2013-08-03 13:39] [PACMAN] upgraded dhcpcd (5.6.8-3 -> 6.0.4-1)
    [2013-08-03 13:39] [PACMAN] upgraded dosfstools (3.0.20-1 -> 3.0.22-1)
    [2013-08-03 13:39] [PACMAN] upgraded lib32-glew (1.9.0-1 -> 1.10.0-1)
    [2013-08-03 13:39] [ALPM] warning: directory permissions differ on /opt/df_linux/
    [2013-08-03 13:39] [PACMAN] upgraded dwarffortress (0.34.11-3 -> 0.34.11-4)
    [2013-08-03 13:39] [PACMAN] upgraded jre7-openjdk-headless (7.u40_2.4.1-1 -> 7.u40_2.4.1-2)
    [2013-08-03 13:39] [PACMAN] upgraded jre7-openjdk (7.u40_2.4.1-1 -> 7.u40_2.4.1-2)
    [2013-08-03 13:39] [PACMAN] upgraded jdk7-openjdk (7.u40_2.4.1-1 -> 7.u40_2.4.1-2)
    [2013-08-03 13:39] [PACMAN] upgraded eclipse (4.2.2-1 -> 4.3-1)
    [2013-08-03 13:39] [PACMAN] upgraded emacs (24.3-2 -> 24.3-3)
    [2013-08-03 13:39] [PACMAN] upgraded exempi (2.2.0-1 -> 2.2.1-1)
    [2013-08-03 13:39] [PACMAN] upgraded fontforge (20120731_b-3 -> 20120731_b-6)
    [2013-08-03 13:39] [PACMAN] upgraded fuse (2.9.2-3 -> 2.9.3-1)
    [2013-08-03 13:39] [PACMAN] upgraded gegl (0.2.0-8 -> 0.2.0-9)
    [2013-08-03 13:39] [PACMAN] upgraded git (1.8.3.3-1 -> 1.8.3.4-1)
    [2013-08-03 13:39] [PACMAN] upgraded glib (1.2.10-9 -> 1.2.10-10)
    [2013-08-03 13:39] [PACMAN] upgraded glib-perl (1.280-3 -> 1.301-1)
    [2013-08-03 13:39] [PACMAN] upgraded glpk (4.48-1 -> 4.52-1)
    [2013-08-03 13:39] [PACMAN] upgraded gnash-common (0.8.10-9 -> 0.8.10-10)
    [2013-08-03 13:39] [PACMAN] upgraded ibus (1.5.2-2 -> 1.5.3-1)
    [2013-08-03 13:39] [PACMAN] upgraded gnome-settings-daemon (3.8.3-2 -> 3.8.4-1)
    [2013-08-03 13:39] [PACMAN] upgraded libqmi (1.4.0-1 -> 1.4.0-2)
    [2013-08-03 13:39] [PACMAN] upgraded libmbim (1.2.0-1 -> 1.4.0-1)
    [2013-08-03 13:39] [PACMAN] upgraded modemmanager (0.7.991-1 -> 1.0.0-1)
    [2013-08-03 13:39] [PACMAN] upgraded gnome-control-center (3.8.3-1 -> 3.8.4.1-1)
    [2013-08-03 13:39] [PACMAN] upgraded gnome-icon-theme (3.8.2-1 -> 3.8.3-1)
    [2013-08-03 13:39] [PACMAN] upgraded gnutls (3.2.1-1 -> 3.2.3-1)
    [2013-08-03 13:39] [PACMAN] upgraded gnome-vfs (2.24.4-6 -> 2.24.4-7)
    [2013-08-03 13:39] [PACMAN] upgraded goffice (0.10.3-1 -> 0.10.4-1)
    [2013-08-03 13:40] [PACMAN] upgraded gnumeric (1.12.3-1 -> 1.12.4-1)
    [2013-08-03 13:40] [PACMAN] upgraded gst-plugins-base (1.0.8-1 -> 1.0.9-1)
    [2013-08-03 13:40] [PACMAN] upgraded gst-plugins-good (1.0.8-1 -> 1.0.9-1)
    [2013-08-03 13:40] [PACMAN] upgraded gstreamer0.10-ugly (0.10.19-5 -> 0.10.19-6)
    [2013-08-03 13:40] [PACMAN] upgraded gstreamer0.10-ugly-plugins (0.10.19-5 -> 0.10.19-6)
    [2013-08-03 13:40] [ALPM] warning: directory permissions differ on /var/log/hp/
    [2013-08-03 13:40] [PACMAN] upgraded hplip (3.13.6-1 -> 3.13.7-1)
    [2013-08-03 13:40] [PACMAN] upgraded idnkit (1.0-2 -> 1.0-3)
    [2013-08-03 13:40] [PACMAN] upgraded ilmbase (2.0.0-1 -> 2.0.1-1)
    [2013-08-03 13:40] [PACMAN] upgraded imlib2 (1.4.5-4 -> 1.4.5-5)
    [2013-08-03 13:40] [PACMAN] upgraded iso-codes (3.43-1 -> 3.44-1)
    [2013-08-03 13:40] [PACMAN] upgraded openexr (2.0.0-1 -> 2.0.1-1)
    [2013-08-03 13:40] [PACMAN] upgraded media-player-info (17-1 -> 19-1)
    [2013-08-03 13:40] [PACMAN] upgraded qtwebkit (2.3.1-2 -> 2.3.2-1)
    [2013-08-03 13:40] [PACMAN] upgraded kdelibs (4.10.5-1 -> 4.10.5-2)
    [2013-08-03 13:40] [PACMAN] upgraded kdemultimedia-ffmpegthumbs (4.10.5-1 -> 4.10.5-2)
    [2013-08-03 13:40] [PACMAN] upgraded kdenetwork-filesharing (4.10.5-1 -> 4.10.5-2)
    [2013-08-03 13:40] [PACMAN] upgraded kdenetwork-kdnssd (4.10.5-1 -> 4.10.5-2)
    [2013-08-03 13:40] [PACMAN] upgraded kdenetwork-kget (4.10.5-1 -> 4.10.5-2)
    [2013-08-03 13:40] [PACMAN] upgraded kdenetwork-kopete (4.10.5-1 -> 4.10.5-2)
    [2013-08-03 13:40] [PACMAN] upgraded kdenetwork-kppp (4.10.5-1 -> 4.10.5-2)
    [2013-08-03 13:40] [PACMAN] upgraded kdenetwork-krdc (4.10.5-1 -> 4.10.5-2)
    [2013-08-03 13:40] [PACMAN] upgraded kdenetwork-krfb (4.10.5-1 -> 4.10.5-2)
    [2013-08-03 13:40] [PACMAN] upgraded kid3 (2.3-1 -> 2.3-2)
    [2013-08-03 13:40] [ALPM-SCRIPTLET] ----------------------------------------------------------------
    [2013-08-03 13:40] [ALPM-SCRIPTLET] lib32-catalyst-utils works with [multilib] repository
    [2013-08-03 13:40] [ALPM-SCRIPTLET] ----------------------------------------------------------------
    [2013-08-03 13:40] [PACMAN] upgraded lib32-catalyst-utils (13.6-1 -> 13.8-1)
    [2013-08-03 13:40] [PACMAN] upgraded lib32-libx11 (1.6.0-1 -> 1.6.1-1)
    [2013-08-03 13:40] [PACMAN] upgraded lib32-giflib (4.2.1-1 -> 5.0.4-1)
    [2013-08-03 13:40] [PACMAN] upgraded lib32-gnutls (3.2.1-1 -> 3.2.3-1)
    [2013-08-03 13:40] [PACMAN] upgraded lib32-harfbuzz (0.9.18-1 -> 0.9.19-1)
    [2013-08-03 13:40] [PACMAN] upgraded lib32-libgcrypt (1.5.2-1 -> 1.5.3-1)
    [2013-08-03 13:40] [PACMAN] upgraded libpciaccess (0.13.1-1 -> 0.13.2-1)
    [2013-08-03 13:40] [PACMAN] upgraded lib32-libpciaccess (0.13.1-1 -> 0.13.2-1)
    [2013-08-03 13:40] [PACMAN] upgraded lib32-libpng (1.6.2-1 -> 1.6.3-1)
    [2013-08-03 13:40] [PACMAN] upgraded mesa (9.1.4-5 -> 9.1.6-1)
    [2013-08-03 13:40] [PACMAN] upgraded lib32-mesa (9.1.4-1 -> 9.1.6-1)
    [2013-08-03 13:40] [PACMAN] upgraded lib32-nspr (4.9.6-1 -> 4.10-2)
    [2013-08-03 13:40] [PACMAN] upgraded lib32-nss (3.14.3-2 -> 3.15.1-1)
    [2013-08-03 13:40] [PACMAN] upgraded libdatrie (0.2.5-1 -> 0.2.6-1)
    [2013-08-03 13:40] [PACMAN] upgraded libgdiplus (2.10-4 -> 2.10.9-1)
    [2013-08-03 13:40] [PACMAN] upgraded libthai (0.1.18-1 -> 0.1.19-1)
    [2013-08-03 13:40] [PACMAN] upgraded libusbx (1.0.15-1 -> 1.0.16-1)
    [2013-08-03 13:40] [PACMAN] upgraded libxfont (1.4.5-1 -> 1.4.6-1)
    [2013-08-03 13:40] [PACMAN] upgraded linux-firmware (20130610-1 -> 20130725-1)
    [2013-08-03 13:40] [PACMAN] upgraded mkinitcpio-busybox (1.20.2-1 -> 1.21.1-2)
    [2013-08-03 13:40] [PACMAN] upgraded mkinitcpio (0.14.0-1 -> 0.15.0-1)
    [2013-08-03 13:40] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
    [2013-08-03 13:40] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2013-08-03 13:40] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
    [2013-08-03 13:40] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    [2013-08-03 13:40] [ALPM-SCRIPTLET] ==> Starting build: 3.10.3-1-ARCH
    [2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [base]
    [2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [udev]
    [2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
    [2013-08-03 13:40] [ALPM-SCRIPTLET] ==> WARNING: Hook 'pata' is deprecated. Replace it with 'block' in your config
    [2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [block]
    [2013-08-03 13:40] [ALPM-SCRIPTLET] ==> WARNING: Hook 'scsi' is deprecated. Replace it with 'block' in your config
    [2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [block]
    [2013-08-03 13:40] [ALPM-SCRIPTLET] ==> WARNING: Hook 'sata' is deprecated. Replace it with 'block' in your config
    [2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [block]
    [2013-08-03 13:40] [ALPM-SCRIPTLET] ==> WARNING: Hook 'usbinput' is deprecated. Replace it with 'keyboard' in your config
    [2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
    [2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
    [2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [fglrx]
    [2013-08-03 13:40] [ALPM-SCRIPTLET] Building fglrx module for 3.10.3-1-ARCH kernel ...
    [2013-08-03 13:40] [ALPM-SCRIPTLET] Failed!!! Check out log: /var/log/catalyst-install.log
    [2013-08-03 13:40] [ALPM-SCRIPTLET] - /usr/lib/modules/3.9.9-1-ARCH looks like unused, maybe remove it manualy?
    [2013-08-03 13:40] [ALPM-SCRIPTLET] ==> Generating module dependencies
    [2013-08-03 13:40] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    [2013-08-03 13:40] [ALPM-SCRIPTLET] ==> Image generation successful
    [2013-08-03 13:40] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
    [2013-08-03 13:40] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    [2013-08-03 13:40] [ALPM-SCRIPTLET] ==> Starting build: 3.10.3-1-ARCH
    [2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [base]
    [2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [udev]
    [2013-08-03 13:40] [ALPM-SCRIPTLET] ==> WARNING: Hook 'pata' is deprecated. Replace it with 'block' in your config
    [2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [block]
    [2013-08-03 13:40] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: bfa
    [2013-08-03 13:40] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
    [2013-08-03 13:40] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: smsmdtv
    [2013-08-03 13:40] [ALPM-SCRIPTLET] ==> WARNING: Hook 'scsi' is deprecated. Replace it with 'block' in your config
    [2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [block]
    [2013-08-03 13:40] [ALPM-SCRIPTLET] ==> WARNING: Hook 'sata' is deprecated. Replace it with 'block' in your config
    [2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [block]
    [2013-08-03 13:40] [ALPM-SCRIPTLET] ==> WARNING: Hook 'usbinput' is deprecated. Replace it with 'keyboard' in your config
    [2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
    [2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
    [2013-08-03 13:40] [ALPM-SCRIPTLET] -> Running build hook: [fglrx]
    [2013-08-03 13:40] [ALPM-SCRIPTLET] Building fglrx module for 3.10.3-1-ARCH kernel ...
    [2013-08-03 13:40] [ALPM-SCRIPTLET] Failed!!! Check out log: /var/log/catalyst-install.log
    [2013-08-03 13:40] [ALPM-SCRIPTLET] - /usr/lib/modules/3.9.9-1-ARCH looks like unused, maybe remove it manualy?
    [2013-08-03 13:40] [ALPM-SCRIPTLET] ==> Generating module dependencies
    [2013-08-03 13:40] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    [2013-08-03 13:40] [ALPM-SCRIPTLET] ==> Image generation successful
    [2013-08-03 13:40] [PACMAN] upgraded linux (3.9.9-1 -> 3.10.3-1)
    [2013-08-03 13:40] [PACMAN] upgraded linux-docs (3.9.9-1 -> 3.10.3-1)
    [2013-08-03 13:40] [PACMAN] upgraded linux-headers (3.9.9-1 -> 3.10.3-1)
    [2013-08-03 13:40] [PACMAN] upgraded lirc-utils (1:0.9.0-49 -> 1:0.9.0-52)
    [2013-08-03 13:40] [PACMAN] upgraded mediastreamer (2.9.0-1 -> 2.9.0-3)
    [2013-08-03 13:41] [PACMAN] upgraded meld (1.7.3-1 -> 1.7.4-1)
    [2013-08-03 13:41] [PACMAN] upgraded mencoder (36285-1 -> 36285-3)
    [2013-08-03 13:41] [PACMAN] upgraded mercurial (2.6.3-1 -> 2.7-1)
    [2013-08-03 13:41] [PACMAN] upgraded mplayer (36285-1 -> 36285-3)
    [2013-08-03 13:41] [PACMAN] upgraded nepomuk-core (4.10.5-1 -> 4.10.5-2)
    [2013-08-03 13:41] [PACMAN] upgraded netctl (1.1-1 -> 1.2-1)
    [2013-08-03 13:41] [PACMAN] upgraded nfs-utils (1.2.8-8 -> 1.2.8-9)
    [2013-08-03 13:41] [PACMAN] upgraded pcsx2 (1.0.0-5 -> 1.0.0-6)
    [2013-08-03 13:41] [PACMAN] upgraded rosegarden (13.04-1 -> 13.06-1)
    [2013-08-03 13:41] [PACMAN] upgraded soundkonverter (2.0.3-1 -> 2.0.4-1)
    [2013-08-03 13:41] [PACMAN] upgraded subversion (1.8.0-1 -> 1.8.1-1)
    [2013-08-03 13:41] [PACMAN] upgraded syslinux (4.06-2 -> 4.07-1)
    [2013-08-03 13:41] [PACMAN] upgraded telepathy-glib (0.20.2-1 -> 0.20.4-1)
    [2013-08-03 13:41] [ALPM-SCRIPTLET] >>> texlive: updating the filename database...
    [2013-08-03 13:41] [ALPM-SCRIPTLET] warning: kpathsea: configuration file texmf.cnf not found in these directories: /usr/bin:/usr/bin/share/texmf-local/web2c:/usr/bin/share/texmf-dist/web2c:/usr/bin/share/texmf/web2c:/usr/bin/texmf-local/web2c:/usr/bin/texmf-dist/web2c:/usr/bin/texmf/web2c:/usr:/usr/share/texmf-local/web2c:/usr/share/texmf-dist/web2c:/usr/share/texmf/web2c:/usr/texmf-local/web2c:/usr/texmf-dist/web2c:/usr/texmf/web2c://../texmf-local/web2c:/://share/texmf-local/web2c://share/texmf-dist/web2c://share/texmf/web2c://texmf-local/web2c://texmf-dist/web2c://texmf/web2c.
    [2013-08-03 13:41] [ALPM-SCRIPTLET] mktexlsr: Done.
    [2013-08-03 13:41] [ALPM-SCRIPTLET] recreating all formats...warning: kpathsea: configuration file texmf.cnf not found in these directories: /usr/bin:/usr/bin/share/texmf-local/web2c:/usr/bin/share/texmf-dist/web2c:/usr/bin/share/texmf/web2c:/usr/bin/texmf-local/web2c:/usr/bin/texmf-dist/web2c:/usr/bin/texmf/web2c:/usr:/usr/share/texmf-local/web2c:/usr/share/texmf-dist/web2c:/usr/share/texmf/web2c:/usr/texmf-local/web2c:/usr/texmf-dist/web2c:/usr/texmf/web2c://../texmf-local/web2c:/://share/texmf-local/web2c://share/texmf-dist/web2c://share/texmf/web2c://texmf-local/web2c://texmf-dist/web2c://texmf/web2c.
    [2013-08-03 13:41] [ALPM-SCRIPTLET] warning: kpathsea: configuration file texmf.cnf not found in these directories: /usr/bin:/usr/bin/share/texmf-local/web2c:/usr/bin/share/texmf-dist/web2c:/usr/bin/share/texmf/web2c:/usr/bin/texmf-local/web2c:/usr/bin/texmf-dist/web2c:/usr/bin/texmf/web2c:/usr:/usr/share/texmf-local/web2c:/usr/share/texmf-dist/web2c:/usr/share/texmf/web2c:/usr/texmf-local/web2c:/usr/texmf-dist/web2c:/usr/texmf/web2c://../texmf-local/web2c:/://share/texmf-local/web2c://share/texmf-dist/web2c://share/texmf/web2c://texmf-local/web2c://texmf-dist/web2c://texmf/web2c.
    [2013-08-03 13:41] [ALPM-SCRIPTLET] warning: kpathsea: configuration file texmf.cnf not found in these directories: /usr/bin:/usr/bin/share/texmf-local/web2c:/usr/bin/share/texmf-dist/web2c:/usr/bin/share/texmf/web2c:/usr/bin/texmf-local/web2c:/usr/bin/texmf-dist/web2c:/usr/bin/texmf/web2c:/usr:/usr/share/texmf-local/web2c:/usr/share/texmf-dist/web2c:/usr/share/texmf/web2c:/usr/texmf-local/web2c:/usr/texmf-dist/web2c:/usr/texmf/web2c://../texmf-local/web2c:/://share/texmf-local/web2c://share/texmf-dist/web2c://share/texmf/web2c://texmf-local/web2c://texmf-dist/web2c://texmf/web2c.
    [2013-08-03 13:41] [ALPM-SCRIPTLET] /usr/bin/fmtutil: line 395: /texconfig/tcfmgr: No such file or directory
    [2013-08-03 13:41] [ALPM-SCRIPTLET] fmtutil: config file `fmtutil.cnf' not found.
    [2013-08-03 13:41] [ALPM-SCRIPTLET] done.
    [2013-08-03 13:41] [ALPM-SCRIPTLET] (logs are under /var/lib/texmf/web2c/<engine>/<formatname>.log)
    [2013-08-03 13:41] [PACMAN] upgraded texlive-bin (2012.0-13 -> 2013.30973-2)
    [2013-08-03 13:41] [ALPM] warning: /etc/texmf/tex/generic/config/language.dat installed as /etc/texmf/tex/generic/config/language.dat.pacnew
    [2013-08-03 13:41] [ALPM] warning: /etc/texmf/tex/generic/config/language.def installed as /etc/texmf/tex/generic/config/language.def.pacnew
    [2013-08-03 13:41] [ALPM] warning: /etc/texmf/dvipdfmx/dvipdfmx.cfg installed as /etc/texmf/dvipdfmx/dvipdfmx.cfg.pacnew
    [2013-08-03 13:41] [ALPM] warning: /etc/texmf/chktex/chktexrc installed as /etc/texmf/chktex/chktexrc.pacnew
    [2013-08-03 13:41] [ALPM] warning: /etc/texmf/web2c/fmtutil.cnf installed as /etc/texmf/web2c/fmtutil.cnf.pacnew
    [2013-08-03 13:41] [ALPM] warning: /etc/texmf/web2c/texmf.cnf installed as /etc/texmf/web2c/texmf.cnf.pacnew
    [2013-08-03 13:41] [ALPM-SCRIPTLET] >>> texlive: saving updmap.cfg as /tmp/tmp.4WfV4vnjxi...
    [2013-08-03 13:41] [ALPM-SCRIPTLET] >>> texlive: regenerating updmap.cfg (custom additions should go
    [2013-08-03 13:41] [ALPM-SCRIPTLET] into /etc/texmf/web2c/updmap-local.cfg
    [2013-08-03 13:41] [ALPM-SCRIPTLET] >>> texlive: updating the filename database...
    [2013-08-03 13:41] [ALPM-SCRIPTLET] mktexlsr: Updating /etc/texmf/ls-R...
    [2013-08-03 13:41] [ALPM-SCRIPTLET] mktexlsr: Updating /usr/share/texmf/ls-R...
    [2013-08-03 13:41] [ALPM-SCRIPTLET] mktexlsr: Updating /usr/share/texmf-dist/ls-R...
    [2013-08-03 13:41] [ALPM-SCRIPTLET] mktexlsr: Updating /var/lib/texmf/ls-R...
    [2013-08-03 13:41] [ALPM-SCRIPTLET] mktexlsr: Done.
    [2013-08-03 13:41] [ALPM-SCRIPTLET] >>> texlive: updating the fontmap files with updmap...
    [2013-08-03 13:41] [ALPM-SCRIPTLET] updmap: resetting $HOME value (was /home/redac) to root's actual home (/root).
    [2013-08-03 13:41] [ALPM-SCRIPTLET] done.
    [2013-08-03 13:41] [ALPM-SCRIPTLET] >>> texlive: recreating all formats...
    [2013-08-03 13:41] [ALPM-SCRIPTLET] /usr/bin/fmtutil: line 395: /usr/share/texmf/texconfig/tcfmgr: No such file or directory
    [2013-08-03 13:41] [ALPM-SCRIPTLET] fmtutil: config file `fmtutil.cnf' not found.
    [2013-08-03 13:41] [ALPM-SCRIPTLET] done.
    [2013-08-03 13:41] [ALPM-SCRIPTLET] (logs are under /var/lib/texmf/web2c/<engine>/<formatname>.log)
    [2013-08-03 13:41] [ALPM-SCRIPTLET] NB: To setup ConTeXt and the lua(la)tex font db,
    [2013-08-03 13:41] [ALPM-SCRIPTLET] see http://wiki.archlinux.org/index.php/TeX_Live
    [2013-08-03 13:41] [PACMAN] upgraded texlive-core (2012.29661-1 -> 2013.30962-2)
    [2013-08-03 13:41] [PACMAN] upgraded transcode (1.1.7-9 -> 1.1.7-10)
    [2013-08-03 13:41] [PACMAN] upgraded twisted (13.0.0-1 -> 13.1.0-1)
    [2013-08-03 13:41] [PACMAN] upgraded videoproto (2.3.1-2 -> 2.3.2-1)
    [2013-08-03 13:41] [PACMAN] upgraded virtuoso-base (6.1.6-2 -> 6.1.7-1)
    [2013-08-03 13:41] [PACMAN] upgraded virtuoso (6.1.6-2 -> 6.1.7-1)
    [2013-08-03 13:41] [PACMAN] installed ffmpeg-compat (1:0.10.8-4)
    [2013-08-03 13:42] [PACMAN] upgraded vlc (2.0.7-2 -> 2.0.8.a-1)
    [2013-08-03 13:42] [PACMAN] upgraded webkitgtk (2.0.3-1 -> 2.0.4-1)
    [2013-08-03 13:42] [PACMAN] upgraded wine (1.6rc5-1 -> 1.7.0-1)
    [2013-08-03 13:42] [PACMAN] upgraded xorg-iceauth (1.0.5-1 -> 1.0.6-1)
    [2013-08-03 13:42] [PACMAN] upgraded youtube-dl (2013.07.17.1-1 -> 2013.07.25.2-1)

    Okay, so it turns out that this was caused by the Catalyst bug described in this post. Reverting to the 13.6 version solved the problem. Lesson learned: if there's a ton of memory being used that isn't owned by a running process, start looking for bug reports involving drivers. Especially drivers known for being, well, pretty bad. Was there any method I could have used that would have told me that Catalyst was using all my ram, or is kernel-space memory usage pretty much a black box?
    Last edited by Chaotechnician (2013-08-08 00:10:43)

  • ABAP Memory Usage

    Hello,
    I am seeking to find the differences in memory usage in the context of statically declaring work areas using the DATA statement and dynamically declaring work areas using data references.
    How can i track the amount of memory a ABAP program is consuming at runtime

    Hi,
    Go to transaction SE30 and check your program.
    It will give line by line time / memory consumption of every line of code at runtime.
    Hope this helps you.
    Cheers,
    Venkat

  • How to track Memory Leaks in 3.6.8?

    I've been noticing for several updates now that I seem to be getting major memory leaks. Firefox starts off around 1-200,000 K memory usage in task manager, but within a few hours it will be past 800,000 K. Now, the things I've seen so far talk about disabling plugins and all to find the problem, but this doesn't happen immediately, so disabling things one by one isn't very feasible. How can i track the memory leak to a specific plugin, or else make it leak much, much faster so I can do the one by one thing?
    == This happened ==
    Every time Firefox opened
    == A few updates ago

    Well, It just has taken a turn for the worse... In the attached screenshot you can see firefox took 1.123.112kb out of my memory at which point the GUI became unresponsive. This has actually happened before, but not as soon...
    I had 18 tabs open (but at the moment I have all of them opened again after a restart of firefox and it takes 143.988 kb at this very moment, which still is a lot actually). My computer has 4gb RAM-memory of which 46% is in use at the moment according to windows task manager.
    It would be great if the whole tabstructure and maybe the garbage collector for the TraceMonkey javascript engine was reviewed... This might point out where the memory leaks are located.

  • Logic Pro 8, Kontakt 2.23 & Memory usage

    Hello -
    *What type of known memory problems might exist between Logic (Logic 8 in particular) and either Kontakt 2.23 or Kontakt Player 2.23??*
    *If there are known memory usage issues, what can be done to help/fix the situation??*
    My computer set up is listed below. I have not upgraded to Leopard (but did upgrade to Logic Pro 8). By-in-large, Logic Pro 8 works fine. However, I usually "network" the Logic sequencing projects with Muse Research's Receptor (version B) and/or an aging Dell Precision Workstation 650 using Musiclab's MIDIoverLan CP3. This has proven stable for me. For my most recent project, I decided to see how many instrument plug-ins I can utilize within the Logic Pro 8 program (without benefit of this "network" set-up). For this project, I'm using one instance of MusicLab's RealGuitar and 16 instances of +*Kontakt Player version 2.23*+ for a total of 17 instrumental tracks. The instrument libraries used are Garritan's GPO and JABB. With this many individual (not multi) track instances used, the activity monitor is showing high RAM usage. For some of the instruments, I could not use the KS choices (trumpet, trombone) because the extra RAM caused Logic to crash as I mounted more instruments.
    I tried adjusting the DFD. Still, there remained high RAM usage and the occasional crash. For some of the crashes, I either got the endless colored spinning wheel or a message basically stating that there was no memory available for the DFD. I am no expert with the advanced workings of Logic and the DFD associated with the Kontakt plug-ins. But I am surprised that using just 17 instrument tracks with this newer Mac Pro computer (with 5 GBs RAM) is causing problems. Sadly, I am not an expert Apple user to be able to tell whether it's the computer or Logic or Kontakt. I suspect, though, its some kind of issue between Kontakt and Logic.
    For my audio, I use MOTU's 2408 MK3. For my midi in-put I use M-Audio's Keystation Pro 88. I do not think either one of these devices are causing the apparent memory problems.
    By the way. . . before I purchased my newer MacPro computer, I had a similar instrumental set-up using my aging Dell Precision 650 workstation with 2 GB of RAM using Steinberg's SX 3 program. I used the same GPO and JABB sound libraries. It did "challange" the Dell computer (I had to adjust buffer/latency settings to MOTU's 828 MK2 used with the Dell computer), but the computer didn't crash like what I'm experiencing at present.
    I don't mind "networking" my computers together in order to use larger instrumental plug-in tracks. But I would think that given the "power" of my newer MacPro I should be able to handle more than 17 GPO & JABB tracks. Yes? No?
    *Given my current computer set-up, how many instrumental tracks (using libraries associated with Kontakt or the Kontakt Player) should I get??*
    Thank you in advance.
    Ted

    Sadly, I can chime in with the same basic problem. Namely, that
    Kontakt2 seems to leak ram. I've watched the activity monitor show
    an increase in ram allocation to logic if i simply LOOK at a kontakt
    instance. Just clicking on the instance causes ram to be allocated, and no matter how much I purge samples, I just can't retrieve that ram. Once 2 gigs are sent to logic, crash.
    The only solution I've found is to save & restart before it climbs too high. I can then work for an hour or so until the ram overflows again. This is obviously a major bug, and I agree that Logic doesn't appear to be the culprit.
    Have either of you tried K3? I wonder if the problem is more under control there? There's no way Kontakt will bother to fix this bug
    in v2.23 with v3 on the shelves. The question is, how do we know that v3 fixes it without buying it? I've heard reports that v3 is even
    more bloated than v2.
    I've recently done a clean install of leopard on a blank drive, and
    i'm patiently waiting until NI updates the installers for K2.
    Then, i'll have a clean OS, clean newly installed logic 8, and
    a cleanly installed K2. Maybe that will help mitigate, if not solve the problem.
    I'm almost sure that Kontakt is the source of the problem, but
    I've also been told that Intels have serious flaws in their ram
    allocation WITH TIGER.
    Some people with G5's have reported having access to 3.5 gigs ram.
    Intells can only use 2 gigs with any one app. This was thought to be a problem with Tiger and and Intels. So maybe Leopard will expand the RAM wallet, and then we just have to wait for Kontakt to stop spending so much.

  • How to check memory usage of a debug

    I am very new, sorry for any newbishness on my part.
    Is there a way to track how much memory your debug is using?  I am trying to make a game, and I have 2 ways of doing something.
    One with an array of square objects doing hitTest, and one only 1 object and an array of cords doing a nested if{}.
    I want to see what each of these are doing in terms of memory usage during runtime and which one would be better.
    (added)
    Specificly not just which one of these is better, but also as different things are applied, I want to test how each of these things responds and which one would slow down a computer less.  And later on as things progress I want a way to test it.

    Hi there
    What Adobe product are you using? What you need to do is click the link below and locate the forum that is specific to the product you are using. Then re-post your question there.
    What you have done is the equivalent of wandering into a hospital and saying you feel ill. Where exactly do you feel ill? You may need a foot specialist, a heart specialist, a brain specialist, etc.
    Click here to visit the main forums chooser page
    Cheers... Rick

  • Problem with Firefox and very heavy memory usage

    For several releases now, Firefox has been particularly heavy on memory usage. With its most recent version, with a single browser instance and only one tab, Firefox consumes more memory that any other application running on my Windows PC. The memory footprint grows significantly as I open additional tabs, getting to almost 1GB when there are 7 or 8 tabs open. This is as true with no extensions or pluggins, and with the usual set, (firebug, fire cookie, fireshot, XMarks). Right now, with 2 tabs, the memory is at 217,128K and climbing, CPU is between 0.2 and 1.5%.
    I have read dozens of threads providing "helpful" suggestions, and tried any that seem reasonable. But like most others who experience Firebug's memory problems, none address the issue.
    Firefox is an excellent tool for web developers, and I rely on it heavily, but have now resorted to using Chrome as the default and only open Firefox when I must, in order to test or debug a page.
    Is there no hope of resolving this problem? So far, from responses to other similar threads, the response has been to deny any responsibility and blame extensions and/or pluggins. This is not helpful and not accurate. Will Firefox accept ownership for this problem and try to address it properly, or must we continue to suffer for your failings?

    55%, it's still 1.6Gb....there shouldn't be a problem scanning something that it says will take up 300Mb, then actually only takes up 70Mb.
    And not wrong, it obviously isn't releasing the memory when other applications need it because it doesn't, I have to close PS before it will release it. Yes, it probably is supposed to release it, but it isn't.
    Thank you for your answer (even if it did appear to me to be a bit rude/shouty, perhaps something more polite than "Wrong!" next time) but I'm sitting at my computer, and I can see what is using how much memory and when, you can't.

  • Problem with scanning and memory usage

    I'm running PS CS3 on Vista Home Premium, 1.86Ghz Intel core 2 processor, and 4GB RAM.
    I realise Vista only sees 3.3GB of this RAM, and I know Vista uses about 1GB all the time.
    Question:
    While running PS, and only PS, with no files open, I have 2GB of RAM, why will PS not let me scan a file that it says will take up 300Mb?
    200Mb is about the limit that it will let me scan, but even then, the actual end product ends up being less than 100Mb. (around 70mb in most cases)I'm using a Dell AIO A920, latest drivers etc, and PS is set to use all avaliable RAM.
    Not only will it not let me scan, once a file I've opened has used up "x" amount of RAM, even if I then close that file, "x" amount of RAM will STILL be unavaliable. This means if I scan something, I have to save it, close PS, then open it again before I can scan anything else.
    Surely this isn't normal. Or am I being stupid and missing something obvious?
    I've also monitored the memory usage during scanning using task manager and various other things, it hardly goes up at all, then shoots up to 70-80% once the 70ishMb file is loaded. Something is up because if that were true, I'd actually only have 1Gb of RAM, and running Vista would be nearly impossible.
    It's not a Vista thing either as I had this problem when I had XP. In fact it was worse then, I could hardly scan anything, had to be very low resolution.
    Thanks in advance for any help

    55%, it's still 1.6Gb....there shouldn't be a problem scanning something that it says will take up 300Mb, then actually only takes up 70Mb.
    And not wrong, it obviously isn't releasing the memory when other applications need it because it doesn't, I have to close PS before it will release it. Yes, it probably is supposed to release it, but it isn't.
    Thank you for your answer (even if it did appear to me to be a bit rude/shouty, perhaps something more polite than "Wrong!" next time) but I'm sitting at my computer, and I can see what is using how much memory and when, you can't.

  • Problem with JTree and memory usage

    I have problem with the JTree when memory usage is over the phisical memory( I have 512MB).
    I use JTree to display very large data about structure organization of big company. It is working fine until memory usage is over the phisical memory - then some of nodes are not visible.
    I hope somebody has an idea about this problem.

    55%, it's still 1.6Gb....there shouldn't be a problem scanning something that it says will take up 300Mb, then actually only takes up 70Mb.
    And not wrong, it obviously isn't releasing the memory when other applications need it because it doesn't, I have to close PS before it will release it. Yes, it probably is supposed to release it, but it isn't.
    Thank you for your answer (even if it did appear to me to be a bit rude/shouty, perhaps something more polite than "Wrong!" next time) but I'm sitting at my computer, and I can see what is using how much memory and when, you can't.

  • High memory usage when many tabs are open (and closed)

    When I open Firefox the memory usage is about 70-100 MB RAM. When I'm working with Firefox I often open 15-20 tabs at once, then I close them and open others. Memory usage increaes up to 450 - 500 MB RAM. After closing the tabs the usage usually decreases, but after sometime. It starts decreasing very slow and never comes back to the level from the beginning. After few hours of work Firefox uses about 400 MB RAM even if one tab is open. First I thought it's because of my plugins (Firebug, Speed Dial, Adlock Plus) but I've checked it and it's not. I reinstalled Firefox but the problem occurs as well. I'm not sure if it's normal. Could you help me, please?

    Hi,
    Not an exact answer but please [http://kb.mozillazine.org/Reducing_memory_usage_(Firefox) see this.] The KB article ponders through various general situations which may or may not be applicable to specific instances but nevertheless could be helpful.
    Useful links:
    [https://support.mozilla.com/en-US/kb/Options%20window All about Tools > Options]
    [http://kb.mozillazine.org/About:config Going beyond Tools > Options - about:config]
    [http://kb.mozillazine.org/About:config_entries about:config Entries]
    [https://addons.mozilla.org/en-US/firefox/addon/whats-that-preference/ What's That Preference? add-on] - Quickly decode about:config entries - After installation, go inside about:config, right-click any preference, enable (tick) MozillaZine Results to Panel and again right-click a pref and choose MozillaZine Reference to begin with.
    [https://support.mozilla.com/en-US/kb/Keyboard%20shortcuts Keyboard Shortcuts]
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder & Files]
    [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode]
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions/Add-ons]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]

  • Memory usage of excel stays high after Macro is executed and excel crashes after trying to close it

    Hi,
    I'm trying to resolve an issue with an excel based tool. The macros retrieve data from an Oracle database and do calculations with the data. They also open and write into files in the same directory. The macros all run and finish the calculations. I can
    continue to use and modify the sheet. I can also close the workbook, however excel memory usage I see in the windows Task manager stays elevated.If I  close Excel it says: Excel stopped working and then it tries to recover information...
    I assume something in the macro did not finish properly and memory was not released. I would like to check what is still open (connection, stream or any other object) when I close the workbook I would like to have a list of all still used memory. Is there
    a possibility to do so.
    Here the code I'm using, its reduced to functions which open something. Functions   
    get_v_tools() and get_change_tools() are same as get_client_positions().
    Public conODBC As New ADODB.Connection
    Public myPath As String
    Sub get_positions()
    Dim Src As range, dst As range
    Dim lastRow As Integer
    Dim myPath As String
    lastRow = Sheets("SQL_DATA").Cells(Sheets("SQL_DATA").rows.Count, "A").End(xlUp).Row
    Sheets("SQL_DATA").range("A2:AD" & lastRow + 1).ClearContents
    Sheets("SQL_DATA").range("AG2:BE" & lastRow + 2).ClearContents
    Sheets("SQL_DATA").range("AE3:AF" & lastRow + 2).ClearContents
    k = Sheets("ToolsList").Cells(Sheets("ToolsList").rows.Count, "A").End(xlUp).Row + 1
    Sheets("ToolsList").range("A2:M" & k).ClearContents
    'open connection
    Call open_connection
    lastRow = Sheets("SQL_DATA").Cells(Sheets("SQL_DATA").rows.Count, "A").End(xlUp).Row
    If lastRow < 2 Then GoTo ErrorHandling
    'copy bs price check multiplications
    Set Src = Sheets("SQL_DATA").range("AE2:AF2")
    Set dst = Worksheets("SQL_DATA").range("AE2").Resize(lastRow - 1, Src.columns.Count)
    dst.Formula = Src.Formula
    On Error GoTo ErrorHandling
    'new prices are calculated
    newPrice_calculate (lastRow)
    Calculate
    myPath = ThisWorkbook.Path
    'Refresh pivot table in Position Manager
    Sheets("Position Manager").PivotTables("PivotTable3").ChangePivotCache ActiveWorkbook. _
    PivotCaches.Create(SourceType:=xlDatabase, SourceData:= _
    myPath & "\[Position_Manager_v1.0.xlsm]SQL_DATA!R1C2:R" & lastRow & "C31" _
    , Version:=xlPivotTableVersion14)
    ErrorHandling:
    Set Src = Nothing
    Set dst = Nothing
    If conODBC.State <> 0 Then
    conODBC.Close
    End If
    End Sub
    Sub open_connection()
    Dim sql_data, sql_data_change, sql_data_v As Variant
    Dim wdth, TotalColumns, startRow As Integer
    Dim rst As New ADODB.Recordset
    Errorcode = 0
    On Error GoTo ErrorHandling
    Errorcode = 1
    With conODBC
    .Provider = "OraOLEDB.Oracle.1"
    .ConnectionString = "Password=" & pswrd & "; Persist Security Info=True;User ID= " & UserName & "; Data Source=" & DataSource
    .CursorLocation = adUseClient
    .Open
    .CommandTimeout = 300
    End With
    startRow = Sheets("SQL_DATA").Cells(Sheets("SQL_DATA").rows.Count, "A").End(xlUp).Row + 1
    sql_data = get_client_positions(conODBC, rst)
    wdth = UBound(sql_data, 1)
    Sheets("SQL_DATA").range("A" & startRow & ":AA" & wdth + startRow - 1).Value = sql_data
    'Run change tools instruments
    startRow = Sheets("ToolsList").Cells(Sheets("ToolsList").rows.Count, "A").End(xlUp).Row + 1
    sql_data_change = get_change_tools(conODBC, rst)
    wdth = UBound(sql_data_change, 1)
    Sheets("ToolsList").range("A" & startRow & ":M" & wdth + startRow - 1).Value _
    = sql_data_change
    'open SQL for V tools instruments
    startRow = Sheets("ToolsList").Cells(Sheets("ToolsList").rows.Count, "A").End(xlUp).Row + 1
    sql_data_v = get_v_tools(conODBC, rst)
    wdth = UBound(sql_data_v, 1)
    Sheets("ToolsList").range("A" & startRow & ":L" & startRow + wdth - 1).Value = sql_data_v
    conODBC.Close
    ErrorHandling:
    If rst.State <> 0 Then
    rst.Close
    End If
    Set rst = Nothing
    End Sub
    Private Function get_client_positions(conODBC As ADODB.Connection, rst_posi As ADODB.Recordset) As Variant
    Dim sql_data As Variant
    Dim objCommand As ADODB.Command
    Dim sql As String
    Dim records, TotalColumns As Integer
    On Error GoTo ErrorHandling
    Set objCommand = New ADODB.Command
    sql = read_sql()
    With objCommand
    .ActiveConnection = conODBC 'connection for the commands
    .CommandType = adCmdText
    .CommandText = sql 'Sql statement from the function
    .Prepared = True
    .CommandTimeout = 600
    End With
    Set rst_posi = objCommand.Execute
    TotalColumns = rst_posi.Fields.Count
    records = rst_posi.RecordCount
    ReDim sql_data(1 To records, 1 To TotalColumns)
    If TotalColumns = 0 Or records = 0 Then GoTo ErrorHandling
    If TotalColumns <> 27 Then GoTo ErrorHandling
    If rst_posi.EOF Then GoTo ErrorHandling
    l = 1
    Do While Not rst_posi.EOF
    For i = 0 To TotalColumns - 1
    sql_data(l, i + 1) = rst_posi.Fields(i)
    Next i
    l = l + 1
    rst_posi.MoveNext
    Loop
    ErrorHandling:
    rst_posi.Close
    Set rst_posi = Nothing
    Set objCommand = Nothing
    get_client_positions = sql_data
    End Function
    Private Function read_sql() As String
    Dim sqlFile As String, sqlQuery, Line As String
    Dim query_dt As String, client As String, account As String
    Dim GRP_ID, GRP_SPLIT_ID As String
    Dim fso, stream As Object
    Set fso = CreateObject("Scripting.FileSystemObject")
    client = Worksheets("Cover").range("C9").Value
    query_dt = Sheets("Cover").range("C7").Value
    GRP_ID = Sheets("Cover").range("C3").Value
    GRP_SPLIT_ID = Sheets("Cover").range("C5").Value
    account = Sheets("Cover").range("C11").Value
    sqlFile = Sheets("Cover").range("C15").Value
    Open sqlFile For Input As #1
    Do Until EOF(1)
    Line Input #1, Line
    sqlQuery = sqlQuery & vbCrLf & Line
    Loop
    Close
    ' Replace placeholders in the SQL
    sqlQuery = Replace(sqlQuery, "myClent", client)
    sqlQuery = Replace(sqlQuery, "01/01/9999", query_dt)
    sqlQuery = Replace(sqlQuery, "54747743", GRP_ID)
    If GRP_SPLIT_ID <> "" Then
    sqlQuery = Replace(sqlQuery, "7754843", GRP_SPLIT_ID)
    Else
    sqlQuery = Replace(sqlQuery, "AND POS.GRP_SPLIT_ID = 7754843", "")
    End If
    If account = "ZZ" Then
    sqlQuery = Replace(sqlQuery, "AND AC.ACCNT_NAME = 'ZZ'", "")
    Else
    sqlQuery = Replace(sqlQuery, "ZZ", account)
    End If
    ' Create a TextStream to check SQL Query
    sql = sqlQuery
    myPath = ThisWorkbook.Path
    Set stream = fso.CreateTextFile(myPath & "\SQL\LastQuery.txt", True)
    stream.Write sql
    stream.Close
    Set fso = Nothing
    Set stream = Nothing
    read_sql = sqlQuery
    End Function

    Thanks Starain,
    that's what I did the last days and found that the problem is in the
    newPrice_calculate (lastRow)
    function. This function retrieves data (sets it as arrays) which was correctly pasted into the sheet, loops through all rows and does math/calendar calculations with cell values using an Add-In("Quantlib")
    Public errorMessage as String
    Sub newPrice_calculate(lastRow)
    Dim Type() As Variant
    Dim Id() As Variant
    Dim Price() As Variant
    Dim daysTo() As Variant
    Dim fx() As Variant
    Dim interest() As Variant
    Dim ObjCalend as Variant
    Dim newPrice as Variant
    On Error GoTo Catch
    interest = Sheets("SQL_DATA").range("V2:V" & lastRow).Value
    Type = Sheets("SQL_DATA").range("L2:L" & lastRow).Value Id = Sheets("SQL_DATA").range("M2:M" & lastRow).Value Price = Sheets("SQL_DATA").range("T2:T" & lastRow).Value
    daysTo = Sheets("SQL_DATA").range("K2:K" & lastRow).Value
    fx = Sheets("SQL_DATA").range("U2:U" & lastRow).Value
    qlError = 1
    For i = 2 To lastRow
    If (i, 1) = "LG" Then
    'set something - nothing spectacular like
    interest(i, 1) = 0
    daysTo(i , 1) = 0
    Else
    adjTime = Sqr(daysTo(i, 1) / 365)
    ObjCalend(i,1) =Application.Run("qlCalendarHolidaysList", _
    "CalObj", ... , .... other input parameters)
    If IsError(ObjCalend(i,1)) Then GoTo Catch
    'other calendar calcs
    newPrice(i,1) = Application.Run( 'quantLib calcs)
    End If
    Catch:
    Select Case qlError
    Case 1
    errorMessage = errorMessage & " QuantLibXL Cal Error at: " & i & " " & vbNewLine & Err.Description
    ObjCalend(i,1) (i, 1) = "N/A"
    End Select
    Next i
    Sheets("SQL_DATA").range("AB2:AB" & lastRow).Value = newPrice
    'Sheets("SQL_DATA").range("AA2:AA" & lastRow).Value = daysTo
    ' erase and set to nothing all arrays and objects
    Erase Type
    Erase id
    Erase Price
    Set newPrice = Nothing
    Is there a possibility to clean everything in:
    Private Sub Workbook_BeforeClose(Cancel As Boolean)
    End Sub
    Thanks in advance
    Mark

  • TOP - Pageouts and memory usage.

    Looks like I have plenty of memory for what I am doing. But What do the cumulative numbers around pagein's mean?
    Processes: 80 total, 7 running, 3 stuck, 70 sleeping... 523 threads 15:20:14
    Load Avg: 1.99, 1.53, 1.37 CPU usage: 10.33% user, 9.00% sys, 80.67% idle
    SharedLibs: num = 5, resident = 13M code, 0 data, 1468K linkedit.
    MemRegions: num = 32848, resident = 2116M + 18M private, 877M shared.
    PhysMem: 1853M wired, 2116M active, 3466M inactive, 7439M used, 753M free.
    VM: 19G + 284M 332461(0) pageins, 47(0) pageouts
    PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE
    12256 top 11.1% 0:14.05 1 18 40 684K 820K 1392K 18M
    12238 bash 0.0% 0:00.01 1 14 19 276K 184K 916K 18M
    12237 login 0.0% 0:00.02 1 17 136 908K 8724K 3164K 32M
    12236 Terminal 1.7% 0:01.45 3 99 433 5264K+ 49M+ 21M+ 419M+
    12225 SyncServer 0.0% 0:00.15 2 50 290 3512K 41M 12M 88M
    11248 WinAppHelp 0.0% 0:00.40 1 51 289 3208K 40M 11M 339M
    11027 Skype 0.0% 0:19.47 31 313 865 46M 76M 88M 557M
    10315 PrinterPro 0.0% 0:00.83 2 85 476 12M 51M 29M 423M
    10313 launchd 0.0% 0:01.25 3 24 25 120K 296K 464K 18M
    8626 QuickTime 0.0% 17:21.09 5 187 655 13M 67M 43M 486M
    8556 DashboardC 0.0% 0:06.31 4 124 538 16M 58M 38M 436M
    8555 DashboardC 0.0% 0:10.95 4 149 545 23M 58M 49M 444M
    8534 Livestatio 16.8% 59:00.13 12 198 771 30M- 94M 62M 584M
    8220 Mail 0.0% 0:43.91 27 323 968 24M 94M 80M 554M
    2806 Python 0.8% 5:20.05 2 33 281 13M- 248K 14M- 36M-
    2761 Transmissi 0.9% 2:49.17 21 270 773 20M 90M 56M 506M

    About OS X Memory Management and Usage
    Reading system memory usage in Activity Monitor
    Memory Management in Mac OS X
    Performance Guidelines- Memory Management in Mac OS X
    A detailed look at memory usage in OS X
    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.

  • MS Minimize and memory usage

    Hi,
    I noticed that if you minimize your dos window, your memory usage ( as shown in Windows task manager ) drops a lot. E.g. I have Tomcat running ( 15 MB usage ). When I minimize the Tomcat DOS window, the memory usage shows something like 160kB. Any ideas. What is the real usage ?
    Regards,
    Dieter Janssen

    When you minimize the window Java will run a garbage collection. But also be aware of that the memory usage in Windows task manager is shown in both the Mem Usage column and the VM Size column (you maybe need to add this to your Task manager).
    I hope this will help you!
    /Michael

  • Get CPU and memory usage

    Hi!
    I would like to know if there is any way of getting system CPU and memory usage using Java code.

    I want to get the system CPU and memory usage using the performance monitor dll, the perfctrs.dll, but access this data using Java language.Then you should create wrapper dll between your java code and perfctrs.dll and convert data from format of dll to format of your java code.
    So, that is next question - how to create wrapper dll, how to deal with or how perfctrs.dll works?

Maybe you are looking for