Why Loop execution of ActiveX method cause memory usage increase dramatically?

hi,all
I have tried a simple structure as follow:
ActiveX Control is TeeChart Control which is widely used in Delphi
env.
ActiveX Control Ref |------------------------
| |
| ActiveX method |
| |
| |
| |
| i stop->@ |
As the loop execut
ing, memory used by labview increase 4k/second
and several
minute later, it has used up 100M!!
I can confirm that ActiveX Control is Valid cause no problem occure
in VB or Delphi.
I google the web and found that many people have been puzzled by
such problems. Is it a bug in Labview?
Software :
LabView7.0
TeeChart ActiveX Control V5
WinXP
Hardware:
AMD Athlon
256M SDRAM
Any reply be appreciated!

> ActiveX Control is TeeChart Control which is widely used in Delphi
> env.
I like the picture, but couldn't tell if your ActiveX method was
returning other refnum values which it allocated and expected LV to
Close. This is the most likely cause. So, I'd inspect each of the
return values, and if any of them are refnums or are being cast to a
refnum and used as one, be sure it gets Closed. Other things like
arrays should either be converted into LV arrays and released, or if
unwired, they should be released. If you have excluded the problem with
refnums, you might look at the unwired inputs and wire them temporarily
to the edge of a sequence or something just to see if the problem gets
better or worse. Please report anything that you find that
doesn't look
correct.
Greg McKaskle

Similar Messages

  • Sql memory usage increase each time win app runs

    Hi,
    Sql memory usage increases each time when win app runs. Why does it work like this? Is it normal ?
    I restart SQL Server 2012. Only my win app uses SQL server.
    First run of winapp.
    start memory usage : 211.800 KB
    close memory usage: 528.136 KB
    Second run of xaf app.
    start memory usage : 528.136 KB
    close memory usage: 996.844 KB
    Third run of xaf app
    start memory usage : 996.844 KB
    close memory usage: 997.640 KB
    Fourth run of xaf app
    start memory usage : 997.640 KB
    close memory usage: 1.104.864 KB

    Hi,
    Sql memory usage increases each time when win app runs. Why does it work like this? Is it normal ?
    Yes, it is perfectly normal for SQL Server to acquire and hold onto large amounts of memory indefinitely.  This memory improves performance by avoiding disk I/O, query plan compilation and costly memory management. 
    On a dedicated SQL Server you should usually let SQL Server dynamically manage memory.  It will release memory if it detects memory pressure.  But if you often run other applications on the server than need significant amounts of memory (e.g. IIS,
    application services), you may want to set max server memory as suggested.
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • Solaris process memory usage increase but not forever

    On Solaris 10 I have a multithreaded process with a strange behaviour. It manages complicated C++ structures (RWTVal or RWPtr). These structures are built from data stored in a database (using Pro*C). Each hour the process looks for new informacion in database, builds new structures on memory and it frees older data. But, each time it repeats this procedure, the process memory usage increases several MB (12/16MB). Process's memory usage starts from 100M until near 1,4G. Just to this point, it seems the process has memory leaks. But the strange behaviour is that after this point, the process stops to continue growing up anymore. When I try to look for memory leaks (using Purify tool) the process doesn't grow up and no significant leaks were showed. Did anyone found a similar behaviour or can explain what could be happening?

    markza wrote:
    Hi, thanks for responding
    Ja, i guess thats possible, but to do it all one row by row seems ridiculous, and it'll be so time consuming and sluggish surely.  I mean, for a months worth of data (which is realistic) thats 44640 individual queries.  If push comes to shove, then I'll have to try that for sure.  
    You can see by the example that I'm saving it to a text file, in csv format.  So it needs to be a string array, a cluster won't be of much help I dont think.
    The only other way I can think of is to break it up into more manageable chunks...maybe pull each column separately in a for loop and build up a 2D array like that until the spreadsheet storing.  
    You only do 1 query, but instead of Fetching All (as the Select does) you'll use the cursor to step through the data.
    You can use Format to String or Write Spreadsheet fire with doubles.
    You can break it down to get the data day by day instead of a full month at once.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • CPU/Memory Usage increases when loading SWF files in AIR.

    Hi,
    We face the below mentioned problem. Would be great if someone could help us.
    Due to problems with uploading the attachment here, please send a email to the following email-id ([email protected]) and I shall send the attachment in response.
    CPU/Memory usage increases drastically while moving the SWC components and loading the SWF Files.
    "Problem Description" - On executing the sample application, a window with multiple objects is shown. The loaded SWC components in flex consume too much Memory and CPU cycles. This is visible in TaskManager. On dragging one of the object, CPU  / memory usage increases drastically.
    "Steps to Reproduce" -
    Draggable window is placed at the bottom in the sample application with Text indication.
    Drag the indicated window.
    "Actual Result" - System's CPU usage increasing drastically  around 50% to 60 %.
    "Expected Result" - Drastical increase in memory\CPU should not occur.
    "Any Workarounds" - No"
    Thanks in advance.

    You can control your external swf from your main.swf in the following method:
    loadswf(clips[0]);
    function loadswf(tmp:String):void{
        passedString=tmp;
        ldr= new Loader();
        ldr.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, progressListener);
        ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, swfLoaded);
        ldr.load(new URLRequest(animPath+tmp));
        function progressListener (e:ProgressEvent):void{
            ploader.visible=true;
        function swfLoaded(e:Event):void {
            mcExt = e.target.content as MovieClip;
            ldr.contentLoaderInfo.removeEventListener(Event.COMPLETE, swfLoaded);
            mcExt.addEventListener(Event.ENTER_FRAME,onEnterfn);
            ploader.visible=false;
            addChild(mcExt);
    function onEnterfn(e:Event):void{
        var num:int=mcExt.currentFrame;
        switch(passedString){
            case clips[0]:
                if (num==1) mcExt.play();
                if (num==9) {
                   mcExt.skipmc.addEventListener(MouseEvent.CLICK,skipfn);
                    function skipfn(e:MouseEvent):void{
                        mcExt.stop();
                       mcExt.removeEventListener(Event.ENTER_FRAME,onEnterfn);
                        gotoAndStop("help");
                if (num==mcExt.totalFrames){
                   mcExt.removeEventListener(Event.ENTER_FRAME,onEnterfn);
                    gotoAndStop("help");
                break;

  • Why does this extra REG EVENTS cause memory leak?

    LabVIEW 8.6.1f1, Win XP/Vista
    My client reported a memory leak in a particular section of my code - my own tests confirmed it.
    Although I have found it and eliminated it, I still don't understand what's really happening.
    The RTEC RECEIVER CONTROLLER vi produces a cluster with various (maybe 30) event refnums in it.
    For this particular piece of code, I am only interested in 5 of those events.
    I was experimenting with registering the cluster as a whole (it works), and I inadvertently left the 2nd REGISTER EVENTS function in place.
    So there are TWO event registration refnums, but only one of them is being used.
    As the program proceeds, more and more memory is being consumed by LabVIEW (as reported by Windows Resource Monitor).  Leaving the program with this particular window running overnight would use up a gig or RAM.
    I verified that nothing else was consuming it - disabling the actual data handling did not fix the problem - eliminating this extra registration did fix it.
    So my question is - why?
    The registration only happens once, and then there are a million events or more in a 12-hour period.
    I can guess that the registration creates some sort of queue within LabVIEW for the events to reside in.  With no EVENT structure tied to that refnum to consume the events, that queue expands forever.
    Is that a reasonable guess, or is there something I am missing?
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

    CoastalMaineBird wrote:
    I can guess that the registration creates some sort of queue within LabVIEW for the events to reside in.  With no EVENT structure tied to that refnum to consume the events, that queue expands forever.
    Is that a reasonable guess, or is there something I am missing?
    Yes, it's a very reasonable guess and is most likely what's happening.
    You might say "LabVIEW could see I'm not actually doing anything with the reference and could therefore optimize the code by ignoring it (which is something LV does in some other cases)", but I'm assuming this is a corner case whoever wrote the original code did not think about, because this could be implemented only in a case where the node neither outputs a reference nor gets one as an input.
    Try to take over the world!

  • Why does memory usage increase after RAM upgrade

    I upgraded my MBP RAM from 4GB to 8GB. I'm not running any additional applications, so I expected machine's RAM usage to remain the same as it was before upgrade.
    However, my RAM usage has increased to 4.6 GB. Why does my machine need more RAM now for the same lot of programs?
    Hardware Information:
              MacBook Pro - model: MacBookPro9,2
              1 2.5 GHz Intel Core i5 CPU: 2 cores
              8 GB RAM
    Video Information:
              Intel HD Graphics 4000 - VRAM: 1024 MB
    System Software:
              OS X 10.9.2 (13C64) - Uptime: 0 days 1:5:15
    Disk Information:
              APPLE HDD ST500LM012 disk0 : (500.11 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 499.25 GB (204.2 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              MATSHITADVD-R   UJ-8A8 
    USB Information:
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Computer, Inc. IR Receiver
              Apple Inc. BRCM20702 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Inc. Apple Internal Keyboard / Trackpad
    FireWire Information:
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Kernel Extensions:
              com.rim.driver.BlackBerryUSBDriverInt          (0.0.74)
    Startup Items:
              HWNetMgr: Path: /Library/StartupItems/HWNetMgr
              HWPortDetect: Path: /Library/StartupItems/HWPortDetect
              ProTec6b: Path: /Library/StartupItems/ProTec6b
    Launch Daemons:
              [System] com.adobe.fpsaud.plist 3rd-Party support link
              [System] com.microsoft.office.licensing.helper.plist 3rd-Party support link
              [System] com.rim.BBDaemon.plist 3rd-Party support link
    Launch Agents:
              [System] com.hp.messagecenter.launcher.plist 3rd-Party support link
              [System] com.rim.BBAlbumArtCacher.plist 3rd-Party support link
              [System] com.rim.BBLaunchAgent.plist 3rd-Party support link
    User Launch Agents:
              [not loaded] com.google.GoogleContactSyncAgent.plist 3rd-Party support link
              [not loaded] com.google.keystone.agent.plist 3rd-Party support link
    User Login Items:
              iTunesHelper
              Reminders
              Calendar
              Mail
              Google Chrome
    Internet Plug-ins:
              SharePointBrowserPlugin: Version: 14.3.9 - SDK 10.6 3rd-Party support link
              FlashPlayer-10.6: Version: 12.0.0.77 - SDK 10.6 3rd-Party support link
              Flash Player: Version: 12.0.0.77 - SDK 10.6 Cannot contact Adobe
              QuickTime Plugin: Version: 7.7.3
              JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Cannot contact Oracle
              Default Browser: Version: 537 - SDK 10.9
    Safari Extensions:
              Open in Internet Explorer: Version: 1.0
              Searchme: Version: 1.2
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 2.0 - SDK 10.9
              AppleAVBAudio: Version: 203.2 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User Internet Plug-ins:
              Picasa: Version: 1.0 - SDK 10.4 3rd-Party support link
    3rd Party Preference Panes:
              Flash Player  3rd-Party support link
    Old Applications:
              /Applications/Microsoft Office 2011/Office
                        Open XML for Excel:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        Microsoft Office Setup Assistant:          Version: 14.2.0 - SDK 10.5 3rd-Party support link
                        Microsoft Alerts Daemon:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        SyncServicesAgent:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        Microsoft Database Daemon:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        Microsoft Graph:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        Microsoft Database Utility:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        Microsoft Office Reminders:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        Microsoft Upload Center:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        My Day:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        Microsoft Chart Converter:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        Microsoft Clip Gallery:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
              Microsoft AutoUpdate:          Version: 2.3.6 - SDK 10.4 3rd-Party support link
                        /Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app
              /Applications/Microsoft Office 2011
                        Microsoft PowerPoint:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        Microsoft Excel:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        Microsoft Outlook:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        Microsoft Word:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        Microsoft Document Connection:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
              /Library/Application Support/Microsoft/MERP2.0
                        Microsoft Error Reporting:          Version: 2.2.9 - SDK 10.4 3rd-Party support link
                        Microsoft Ship Asserts:          Version: 1.1.4 - SDK 10.4 3rd-Party support link
              Microsoft Language Register:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        /Applications/Microsoft Office 2011/Additional Tools/Microsoft Language Register/Microsoft Language Register.app
              Solver:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        /Applications/Microsoft Office 2011/Office/Add-Ins/Solver.app
    Time Machine:
              Mobile backups: OFF
              Auto backup: NO - Auto backup turned off
              Volumes being backed up:
                        Macintosh HD: Disk size: 464.96 GB Disk used: 274.78 GB
              Destinations:
                        Angad Sethi [Local] (Last used)
                        Total size: 931.19 GB
                        Total number of backups: 2
                        Oldest backup: 2014-01-27 11:09:05 +0000
                        Last backup: 2014-03-29 17:14:02 +0000
                        Size of backup disk: Adequate
                                  Backup size 931.19 GB > (Disk used 274.78 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
    Top Processes by CPU:
                   3%          WindowServer
                   3%          iStats
                   2%          EtreCheck
                   0%          BBLaunchAgent
                   0%          sysmond
    Top Processes by Memory:
              131 MB          mds_stores
              131 MB          Google Chrome
              98 MB          Finder
              90 MB          ocspd
              82 MB          mds
    Virtual Memory Information:
              3.41 GB          Free RAM
              2.26 GB          Active RAM
              1.44 GB          Inactive RAM
              916 MB          Wired RAM
              3.24 GB          Page-ins
              0 B          Page-outs

    Mavericks utilize RAM a bit differently that previous OS ver.
    It trys to utilize all available RAM that you throw at it,  this is normal.
    YOu can read more:
    http://arstechnica.com/apple/2013/10/os-x-10-9/17/#compressed-memory
    http://support.apple.com/kb/HT5890
    https://developer.apple.com/library/mac/documentation/Performance/Conceptual/Man agingMemory/Articles/AboutMemory.html

  • Arch Linux KDE 4.5 Memory Usage ~ 1.2 GB

    Hello everyone,
    everytime I install a new version of KDE the memory usage increases dramatically. Right now, the free command show around 1 GB of memory usage after startup. Since alot of people write here and in other forums that KDE uses much less memory, I got quite curios about KDE.
    I still can remember on the first stable version (4.2), where KDE required around 350 Megs on the same machine...
    Anyone got an idea?
    Thanx

    My free -m with kde4.5
    [user@dell ~]$ free -m
    total used free shared buffers cached
    Mem: 3927 2141 1785 0 100 1077
    -/+ buffers/cache: 963 2963
    Swap: 1536 0 1536
    I had: blueman, ktorrent, firefox, desktop efects & daisy, ram, cpu plasmoids running and folowing daemons: syslog-ng hal @sensors @bluetooth @alsa @cpufreq  @cpudyn @networkmanager @kdm @cdemud @cups
    Ram is intended to be used and you have enough ram (as me).
    You can't have heavy/candy/user frendly desktop like kde/gnome and few ram used.
    If your sistem is responsive all is ok.
    If you want more free RAM/CPU, disable strigi and nepomuk services from systemsettings/desktop search.
    Last edited by mits (2010-08-31 16:59:31)

  • Xorg memory usage.

    Hi there.
    I am new to linux and have just recently performed another clean install of arch linux onto my system. I was just wanting find out why after running my system for about 4 hours my xorg server memory usage increased from about 30MB to 1.5GB? I dont think this is normal behaviour.
    My system is
    Intel Core 2 Quad Q6600
    4GB DDR2 1067Mhz
    Nvidida Gefore 8800GTX
    running
    Archlinux 64-bit
    with xorg-server 1.7.3.902-1
    and KDEmod4
    btw, my system is entirely up to date. If needed I will move my post to the KDEmod forums, but im unsure of the likeliness that kdemod is the cause. Thanks in advance.
    Last edited by slate (2010-01-03 22:59:18)

    Ultraman wrote:
    insanemal wrote:
    There is a known memory leak in the ATI R600 driver.
    It only happens with specific 3D commands.
    https://bugs.freedesktop.org/show_bug.cgi?id=25483
    Dunno about the Nvidia one.
    That would explain mine, I use the xf86-video-ati from the repos and use some compositing effects.
    So do I but even after deactivating compositing the problem still seems to be there.

  • Very high memory usage with Yahoo Mail

    After using Yahoo Mail for an hour or so my memory usage increases to a very high level.
    Just now, after reading and deleting about 50 e-mails (newsletters etc.) I noticed Firefox 17 running slowly and checked the memory usage in Windows Task Manager (I am using XP) and it was 1.2 Gb. My older laptop only has 2 Gb of RAM. Yahoo Mail was the only thing open at the time.
    I never notice this problem with Gmail which I mainly use. However I use Yahoo Mail for quite a few newsletters etc. that are less important and which I only check once a week or so.
    I found the following bug report about 3 years old which almost exactly describes my problem.
    https://bugzilla.mozilla.org/show_bug.cgi?id=506771
    But this report involves a much earlier Firefox version, and at the end it seems to say that the problem was fixed. However it well describes my current issue with Firefox 17, especially the continual increase in memory while using the up/down arrow keys to scroll through Yahoo e-mails.
    Is this normal to have to shut down and reopen Firefox every hour or so to clean out the memory? For some reason I only notice this when using Yahoo Mail. After using many other sites and having multiple tabs open for several hours I rarely reach that kind of memory usage. About the highest I've seen with other sites after a couple of hours is 600 Kb which is roughly when I start notice slower response times.

    See also:
    *https://support.mozilla.org/kb/firefox-uses-too-much-memory-ram
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • SA520W - High memory usage, possible fix in 2.2.0 firmware?

    As suggested by Thomas Watts, I'm starting a new thread to discuss the new SA520W firmware (2.2.0) and a possible resolution to high memory usage I'm experiencing on my network.
    My current setup is: 16Mbit DSL > SA520W > SA300-10, all with stock settings (no fancy VLAN's etc.)
    I have 4 CentOS 5/6 servers and a Windows 7 Ultimate station connected to the switch. I use CIFS to connect from Windows station to the other Linux servers and send large files. I currently notice the following behavior:
    When the file transfer starts, the Intel 1Gbit NIC is nearly saturated, hitting 115MB/sec. After few seconds, the data transfer comes to a halt and the transfer speed drops to around 50MB/sec. If I check the memory usage before the file transfer, it is approximately to 50-60% (on a fresh router reboot). Every time I send large files to other machines, the router memory consumption increases and it does not lower after a reasonable delay. I end-up with high memory near 90% and the only solution I have is to reboot the router in order to bring it back to 50%.
    Now, Thomas told me that this is simply a cosmetic issue, the memory is not actually 90% used. Yet, when the memory hits this threshold, I'm not capable to send files are normal LAN speeds I'm used to. Rebooting the router allows me to send only ONCE (and for few seconds) data at the expected LAN speeds.
    I would apreciate any input from Cisco engineers as well other users who experience the same issue. I would also like to know if any related work was done into 2.2.0 firmware and when we expect to have it released to users.
    Regards,
    Floren Munteanu

    Hi Tom,
    See below the answers.
    Are you currently running the 2.1.71 code?
    Yes
    Are you using IPS?
    No, the LAN is for internal use (no external users allowed)
    Are you using Protectlink services?
    No
    Hardware wise, I did not changed anything on machines. All boxes have dual Intel EXPI9301CT NIC's (LACP was planned) but I currently use single connections for sanity reasons (disks won't allow greater speeds anyway). Previous to Cisco, I used a Netgear ProSafe router + switch which did not encountered the issues I mention. Honestly, at first I thought I'm dealing with some stupid disk issues on Windows. So I ran a quick test and the stats are proper:
    > winsat disk -drive c
    > Disk  Sequential 64.0 Read                   109.62 MB/s        6.5
    > Disk  Random 16.0 Read                       2.47 MB/s          4.4
    > Responsiveness: Average IO Rate              2.12 ms/IO         6.9
    > Responsiveness: Grouped IOs                  8.34 units         7.4
    > Responsiveness: Long IOs                     5.59 units         7.7
    > Responsiveness: Overall                      46.63 units        7.1
    > Responsiveness: PenaltyFactor                0.0
    > Disk  Sequential 64.0 Write                  117.03 MB/s        6.7
    > Average Read Time with Sequential Writes     6.977 ms           5.3
    > Latency: 95th Percentile                     32.720 ms          3.0
    > Latency: Maximum                             118.231 ms         7.6
    > Average Read Time with Random Writes         13.346 ms          3.7
    > Total Run Time 00:01:39.50
    As I mentioned before, everything is pretty much stock on router/switch settings. If you have any tips that allow me to identify the cause, I would appreciate the input. What puzzles me is the speed drop and quick memory usage increase. It occurs 7-10 seconds after the transfers begins. It looks like the data transfer hangs for a very short period of time (less than half of second) and the transfer speed decreases from 110-115MB/sec to 50-60MB/sec. The transfer is completed at this speed. No matter how many other files I try to transfer after, the speed won't go higher than 60MB/sec. If I reboot the router, I get the same cycle.

  • Normal memory usage?

    Hi...
    Could anyone tell me what should be the normal memory usage of the server
    just after startup?
    I only have a few ejbs deployed and just after startup, my server memory
    jumps to 150Mb.. so I'm wondering if this is normal because it looks to me
    like a lot of memory...
    I used to work with another application server with the same ejbs deployed
    and even after several days up, the server process never took more han
    75-80Mb of memory.. Weblogic is taking like twice this amount just after
    startup... maybe my tuning is wrong.. is there anythng that I could do to
    lower the memory usage?
    by the way. I'm running WLS 7.0 on a win2k machine
    thanks!
    Mathieu Girard
    [email protected]

    Hi Mathieu,
    Generally there is no hard rule defined for all app servers for
    how much memory it should use after startup. Why whould you
    need to lower the memory usage? Do you have any specific
    problem with the digits you've got?
    Regards,
    Slava Imeshev
    "Mathieu Girard" <[email protected]> wrote in message
    news:[email protected]..
    Hi...
    Could anyone tell me what should be the normal memory usage of the server
    just after startup?
    I only have a few ejbs deployed and just after startup, my server memory
    jumps to 150Mb.. so I'm wondering if this is normal because it looks to me
    like a lot of memory...
    I used to work with another application server with the same ejbs deployed
    and even after several days up, the server process never took more han
    75-80Mb of memory.. Weblogic is taking like twice this amount just after
    startup... maybe my tuning is wrong.. is there anythng that I could do to
    lower the memory usage?
    by the way. I'm running WLS 7.0 on a win2k machine
    thanks!
    Mathieu Girard
    [email protected]

  • High browser memory usage when streaming video

    I'm using Flex 4 and the Spark VideoPlayer.  I'm creating an application where you switch between several videos.  I noticed that the browser memory usage increases significantly when changing videos and never releases the memory.  I ran tests where the video is being served over a content delivery network that has Flash Media Server, so the content shouldn't be caching in the browser.  I profiled my Flex application and the memory usage increases slightly when changing videos.  I think that is attributed to this bug: https://bugs.adobe.com/jira/browse/SDK-25785.  However, my browser memory usage increases about 20MB when changing videos.  The video file I used to test is an mp4 file that is about 3MB in size.  I tried testing using a small video (about 300Kb) and noticed an increase of about 5MB in browser memory usage every time I replayed it.  So it looks like it's based on the video file size.  I was testing on Firefox and noticed the same results in Chrome.  Any idea why the browser memory usage would increase so much every time the video is loaded?
    Thanks in advance.

    That's normal for your machine. Video is fairly demanding in the integrated Intel GPU in that machine. Your CPU has to do much of the video processing. As a result, your fans will speed up to cool off the CPU which is working fairly hard. It's completely normal and all of the MacBooks with the same GPU experience the same thing.

  • Memory usage in windows nt and windows 2000

    My program is polling, visualizing and saving continuously sent data. When I use it under Windows NT(sp6), after some time the computer runs out of virtual memory. In the task manager I can see the memory usage increasing with time. But when I use it under windows 2000(sp3) and look at the task manager nothing important happens, the memory usage is quite constant. Does anyone have any idea about this situation? Any help would be most appreciated.
    Thanks
    Ogulcan

    Assuming that your application isn't continuously reading into memory ever-increasing amounts of data, the thing to look for are references that you aren't closing when you are finished with them.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Question on memory usage

    Dear Spry-Team,
    I have a question on memory usage. When I run any Spry sample
    (For Example :
    spry_p1_5_051707\samples\data_region\PagingSample.html). Loading
    took quite some time and in the mean time I looked at my Task
    Manager for the RAM usage of Internet Explorer, this grew with
    dozens of megabytes and after applying a few non-destructive
    filters, the memory usage increased almost exponentially.
    Can you provide us with some comments on memory usage by Spry
    Thanks!

    bump

  • Why the execution time increases with a while loop, but not with "Run continuously" ?

    Hi all,
    I have a serious time problem that I don't know how to solve because I don't know exactly where it comes from.
    I command two RF switches via a DAQ card (NI USB-6008). Only one position at the same time can be selected on each switch. Basically, the VI created for this functionnality (by a co-worker) resets all the DAQ outputs, and then activates the desired ones. It has three inputs, two simp0le string controls, and an array of cluster, which contains the list of all the outputs and some informations to know what is connected (specific to my application).
    I use this VI in a complex application, and I get some problems with the execution time, which increased each time I callled the VI, so I made a test VI (TimeTesting.vi) to figure out where the problem came from. In this special VI I record the execution time in a csv file to analyse then with excel.
    After several tests, I found that if I run this test VI with the while loop, the execution time increases at each cycle, but if I remove the while loop and use the "Run continuously" funtionnality, the execution time remains the same. In my top level application I have while loops and events, and so the execution time increases too.
    Could someone explain me why the execution time increases, and how can I avoid that? I attached my test VI and the necessary subVIs, as well as a picture of a graph which shows the execution time with a while loop and with the "run continuously".
    Thanks a lot for your help!
    Solved!
    Go to Solution.
    Attachments:
    TimeTesting.zip ‏70 KB
    Graph.PNG ‏20 KB

    jul7290 wrote:
    Thank you very much for your help! I added the "Clear task" vi and now it works properly.
    If you are still using the RUn Continuously you should stop. That is meant strictly for debugging. In fact, I can't even tell you the last time I ever used it. If you want your code to repeat you should use loops and control the behavior of the code.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

Maybe you are looking for

  • How can I sync my iPhone contacts to my Mac and vice-versa, without losing them? Can i do it with iCloud?

    I always add new phone numbers on my iPhone Contacts, while new email addresses are always added on my Mac Contacts. The result is that I dont have my recent email contacts on my phone, while on the Mac I dont have the recent phones. I would like to

  • File Info not saving in PS

    Upon entering File Info and saving the image in Photoshop, all metadata disappears. However, If I apply a metadata template in Bridge, the metadata stays. What may be causing the File Info to not save with the image in PS? Usig Bridge would be okay,

  • How to create Logical domain in Sun Fire T2000 server

    Hi, I am new to this Logical domain, Can some one provide me doc to install a guest OS in logical domain.I have sun T 2000 server with solaris 10 OS Regards Alex

  • How do I re-install previously purchased creative suite

    So my computer was stolen and I have a version of Creative Suite that I had previously purchased and only had installed on my desktop and laptop.  I just received a new laptop and need to download the product again.  I can't find it through my Adobe

  • What's this scope?

    Hi,I've been troubled by this scope problem for a while.Here is the fragments of a jsp file: //codes. <% String name="hello";                                                //(1) //pageContext.setAttribute("name",name);          //(2) %> <c:out value