Component controller is consuming lots of memory

Hi All,
I have an WebDynpro application and a component controller (MyCompController) too where I have written most of the business specific code. The basis team informed that the component controller (MyCompController) is consuming lots of memory.
Could anybody suggest me how to takle this problem. I dont have any other details and I am new to handle this kind of activity.
Thanks & Regards,
Patana

Hi Patana
Your controller can consume lots of memory because of lots of unnecessary data is loaded in advance and do not used actually. Try to analyze the following points:
1. Unnecessary data is loaded into the context nodes in advance. Do not load all the data into the context in wdInit() method (do not fill in all the models too). This is not the right way. Instead try to use supply-functions for each context node with data. Supply-function will be called by Webdynpro automatically only when the data is actually required to be shown on UI.
2. Unnecessary embedded Webdynpro components are created and loaded in memory in advance. Do not create embedded Webdynpro components manually in wdInit() method. Instead try to setup component usages with Create Mode option = OnDemand. Then Webdynpro will create the components automatically when this is really required.
BR, Sergei

Similar Messages

  • Flash builder 4.7 consuming lot of memory in VMware VDI environment.

    Flash builder 4.7 consuming lot of memory in VMware VDI environment. When we debugg the application then it is throwing out of memory exception. We need to close and relaunch Flash builder IDE numerous times. Can you please help us with setting changes we need to make for flash builder or VMware VDI environment so that we can resolve this issue?

    Hi Atul_Saini,
    So I checked your link and all seems correct on my computer.
    At the bottom of the link you provided there is "see also" section, about activation / deactivation.
    I did not deactivated my licenses before my window re-install, and if now I go to Flash Builder -> Help , desactivation button is greyed out. Could it be the source of my problem that I used my licenses on two computer and did not deactivated them ?
    If yes, how could I deactivate thoses products ? I searched on my profile but I can't find a way to do it.

  • Mkmapview on zoom in or zoom out consumes lot of memory

    Hello,
    In my application i am using mkmapview as the main view and showing images (around 75 images) on the map by annotation.
    on zoom in or zoom out mapview consumes lot of memory and after some time it recives memory warning then application gets crash.
    any suggestion for that.
    Thank u in advance.

    Place the property node inside a case structure and enable it when the iteration terminal is "1". (not zero!)
    And please place a small wait inside your loop, there is no reason it should spin that fast. (Since the data never changes in your example, the entire graph terminal and inner loops belong outside the main while loop. However, I assume that your real application is different )
    NOTE: you could also use the "first run?" primitive or enable it when [i]=0, but in this case you would need a small sequence structure to ensure it happens after ther graph terminal is written for the first time.
    Also note that xy graphs take complex data, simplifying the wiring and data structures.
    LabVIEW Champion . Do more with less code and in less time .

  • Flash 8 Application consuming lots of Memory!!

    Hi There,
    I just developed an Application using Flash 8 Professional.
    Unfortunately Im finding a bad memory usage when i run the
    Application. Visual Studio acts as the container for the SWF. The
    memory usage rises upto 80% and its really not acceptable.
    The application is an e-learning software with heavy graphics
    and animations. Is it because I have a lot of images and
    animations? because in the code I just have a maximum of 12 sound
    objects, which I have not deleted upon exit. Sould I optimize the
    code used? I mean the parts that involves "=new object( )"?
    If the problem is with graphics, is there any alternate way
    to adjust it?

    you aren't going to get too much help without someone looking
    at your project.
    however, if your movieclips remain stationary on-stage or
    only change their _x and _y properties, you can enable their
    cacheAsBitmap properties and realize a substantial performance
    benefit.

  • Oracle.exe consuming lots of memory

    hi
    i am using Oracle 10g release2
    after installation, when i'm booting my system (Windows XP) it takes a lot of time to finish all the files to load. when i inspected the task manager, there were 2 instances or oracle.exe running each consuming approximately 200,000K each. i feel like this particular thing is slowing down the system. what are ur suggestions please ? if actually its the problem, what is the solution u propose ?

    user10434417 wrote:
    there are 2 databases running and i've 2GB RAM in my system2gb RAM is awefully lesser compared to the current version's requirements of oracle. Also, I believe you must have not modified the sga/pga settings as well since the default values are very high. I would suggest that you try to check the sga/pga sizes and reduce them to the minimum which is 160MB for the SGA and 91MB for PGA if these databases are merely for testing/learning.
    HTH
    Aman....

  • WEB reports exported to Excel -  occupys lot of memory

    Hi Experts,
    When I try to export a report from Web or Bex Analyser to Excel. The report consumes lot of memory.
    The same size of data in Original Excel file occupy less memory but when it is being downloaded from WEB and Bex takes lot of memory and It doesn't let me email as an attachment.
    Can anyone give me a solution for it please.
    Thanks

    Has anyone got a solution for this? Even I have same issue. User is trying to download the web report to excel, after downloading the file is too big (in MBs) and when the user opens and save again as .xls file, then file size is coming down to KBs. The default file type is Webarchive as I observed. Need to know if there is a way to change the default file type to excel.
    Thanks for your help/hints.

  • Sessions that consume a lot of Memory

    Hi,
    How to retrieve sessions that consume a lot of Memory (Database 11.2.0.2) ?
    Regards,

    791550 wrote:
    Hi,
    How to retrieve sessions that consume a lot of Memory (Database 11.2.0.2) ?
    Regards,Hi. You can query v$sesstat,v$statname and can join with v$session then you will get which session consume how much memory like below query
    select
            username,
            sess.sid,
            value,
            name
    from  v$sesstat sst,
            v$statname sn,
            v$session sess
    where sst.statistic#=sn.statistic# and
    sess.sid=sst.sid and
    username is not null and
    upper(sn.name) like '%MEMORY%'
    order by username

  • Quicklook consumes a lot of memory on column view previewing large files

    After upgrading to Mountain Lion, everytime I click on a large file (like a disk image, DMG, ISO) on finder's column view, it starts spinning the icon and quicklookd consumes a lot of memory even causing other apps to swap to disk. After the preview icon is done, the quicklookd memory is dealocated.
    This do not happen on Lion.

    Just found out that a plugin (QLStephen - http://whomwah.github.com/qlstephen/) was causing the problem.
    Removed it from /Library/Quicklook, restarted quicklook (qlmanage -r) and the problem is gone.

  • I usually have 30 tabs opened, and the memory rises in a unexpected way, so that when it reaches 1.2GB, firefox crashes. Also If, for e.g. firefox is consuming 700MB of memory (with a lot of tabs opened), and if i close those tabs and leave just 2 or 3 op

    I usually have 30 tabs opened, and the memory rises in a unexpected way, so that when it reaches 1.2GB, firefox crashes. Also If, for e.g. firefox is consuming 700MB of memory (with a lot of tabs opened), and if i close those tabs and leave just 2 or 3 opened, the memory usage does not drop and remains at the 700MB. Thanks for your attention. Regards, Ricardo
    == Crash ID(s) ==
    bp-765e3c37-0edc-4ed6-a4e9-7ed612100526

    I have the same sort of problem with 30-40 tabs, with memory usage growing until crash. It seems a lot worse after restarting from standby mode on Vista - it's often highly unresponsive for a while, then crashes.
    I have a fair few plug-ins running, one of the benefits of Firefox.
    Is their a way I can log memory use of parts of Firefox, particularly the plug-ins?

  • Why does out slapd process consume a lot of memory (1.1 GB)?

    Our LDAP installation (4.1) on Solaris 5.8 consumes too much memory. It is now at 1.1 GB and rising. I have tuned the dbcachesize and cachesize parameters in the config file, but that has not helped.
    I'd appreciate any help I can get in solving this problem. Also, I can't upgrade our installation due to other issues.

    Which exact version are you using? There were some memory fixes in the service packs.

  • When opening an animated gif, lots of memory consumed followed by crash

    Any large (read: anything more than a megabyte) animated GIF causes Firefox to consume all available memory, and then subsequently, crash.
    I've tried the following:
    - Disable all extensions
    - Disable hardware acceleration
    - Run in safemode
    - New Firefox installation
    - Set affinity of Firefox to only use one core
    With no effect.
    I am a long time Firefox user and enthusiast, but I am really considering making the transition to Chrome (which does not crash with long animated GIFs)
    There is no option to submit a crash report about it, and there is also no crash reports on my local system AT ALL.
    The following is a short video demonstrating the memory leak.
    https://www.youtube.com/watch?v=mIS8baOSwJ0&feature=youtu.be

    After some further reading, I set the preference image.mem.decodeondraw=false in about:config. Firefox struggled with the GIF, not always able to display anything useful in the window, but did not crash. Clicking the Home button to navigate the tab away allowed Firefox to unload memory. Not an improvement, really.
    Doing a little more searching, I discovered that the file you linked was the demo for this yet-to-be-fixed bug: [https://bugzilla.mozilla.org/show_bug.cgi?id=523950 523950 – Long animated GIF makes Firefox consume all available memory].
    It's generally not helpful to add comments to bugs (unless you can help fix them), but you can register on the Bugzilla site and "vote" for them to be fixed. See:
    * [https://bugzilla.mozilla.org/page.cgi?id=etiquette.html Bugzilla Etiquette]
    * [https://bugzilla.mozilla.org/page.cgi?id=voting.html Voting]

  • Image Capture Extension consuming all the memory

    I have a Macbook Pro from 2011 with OS X Yosemite, Iphoto 9.6 and Aperture 3.6.  I always work with Aperture for my pictures.  But since last weekend it works extremely slow. When I check the Activity Monitor I see that there is something like "Image Capture Extension" consuming a lot of memory and also Kernel_task.
    When I force quit "Image Capture Extension", Aperture starts up but still extremely slow.  Is this a hardware issue?  Should I reinstall Aperture?
    I think this started after I tried to work in Iphoto again (after long time) to order a photobook before Aperture and Iphoto will close.  I had issues with ordering the photobook (see other discussion of me).

    Here is the report from EtherCheck, I have been able to remove some Adware via AdwareMedic but it seems there is still some there,
    Also the startup items I cannot remove via Accounts.
    For the rest everything looks quite OK, no?
    EtreCheck version: 2.1.8 (121)
    Report generated 11 March 2015 9:00:28 pm AEST
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Click the [Adware! - Remove] links for help removing adware.
    Hardware Information: ℹ️
        MacBook Pro (13-inch, Early 2011) (Technical Specifications)
        MacBook Pro - model: MacBookPro8,1
        1 2.3 GHz Intel Core i5 CPU: 2-core
        4 GB RAM Upgradeable
            BANK 0/DIMM0
                2 GB DDR3 1333 MHz ok
            BANK 1/DIMM0
                2 GB DDR3 1333 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 574
    Video Information: ℹ️
        Intel HD Graphics 3000 - VRAM: 384 MB
            Color LCD 1280 x 800
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 0:3:29
    Disk Information: ℹ️
        Hitachi HTS545032B9A302 disk0 : (320.07 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 318.84 GB (32.07 GB free)
                Core Storage: disk0s2 319.21 GB Online
        OPTIARC DVD RW AD-5970H 
    USB Information: ℹ️
        Western Digital My Passport 0820 2 TB
            EFI (disk2s1) <not mounted> : 210 MB
            WD 2TB RED (disk2s2) /Volumes/WD 2TB RED : 2.00 TB (1.56 TB free)
        Apple Computer, Inc. IR Receiver
        Apple Inc. FaceTime HD Camera (Built-in)
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Inc. BRCM2070 Hub
            Apple Inc. Bluetooth USB Host Controller
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Adware: ℹ️
        Geneio [Adware! - Remove]
    Kernel Extensions: ℹ️
            /System/Library/Extensions
        [not loaded]    com.nike.sportwatch (1.0.0) [Click for support]
        [not loaded]    net.Thomson.iokit.USBLAN_usbpart (1.6.0) [Click for support]
    Startup Items: ℹ️
        HWNetMgr: Path: /Library/StartupItems/HWNetMgr
        HWPortDetect: Path: /Library/StartupItems/HWPortDetect
        Startup items are obsolete in OS X Yosemite
    Launch Agents: ℹ️
        [loaded]    com.oracle.java.Java-Updater.plist [Click for support]
        [not loaded]    com.teamviewer.teamviewer.plist [Click for support]
        [not loaded]    com.teamviewer.teamviewer_desktop.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.oracle.java.Helper-Tool.plist [Click for support]
        [loaded]    com.oracle.java.JavaUpdateHelper.plist [Click for support]
        [not loaded]    com.teamviewer.teamviewer_service.plist [Click for support]
        [loaded]    net.sourceforge.MonolingualHelper.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.google.keystone.agent.plist [Click for support]
    User Login Items: ℹ️
        None
    Internet Plug-ins: ℹ️
        JavaAppletPlugin: Version: Java 8 Update 31 Check version
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        Unity Web Player: Version: UnityPlayer version 4.6.0f2 - SDK 10.6 [Click for support]
        Google Earth Web Plug-in: Version: 6.0 [Click for support]
        googletalkbrowserplugin: Version: 2.0.4.2108 - SDK 10.5 [Click for support]
        npgtpo3dautoplugin: Version: 0.1.43.7 [Click for support]
        Silverlight: Version: 4.0.60310.0 [Click for support]
        iPhotoPhotocast: Version: 7.0 - SDK 10.8
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        GoPro  [Click for support]
        Growl  [Click for support]
        Java  [Click for support]
    Time Machine: ℹ️
        Skip System Files: NO
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 318.84 GB Disk used: 286.77 GB
        Destinations:
            WD Harddrive Ann [Local]
            Total size: 499.94 GB
            Total number of backups: 2
            Oldest backup: 2014-11-30 04:03:53 +0000
            Last backup: 2015-03-03 15:01:32 +0000
            Size of backup disk: Too small
                Backup size 499.94 GB < (Disk used 286.77 GB X 3)
    Top Processes by CPU: ℹ️
             9%    mds
             6%    WindowServer
             4%    mds_stores
             1%    mtmd
             0%    SystemUIServer
    Top Processes by Memory: ℹ️
        159 MB    mds_stores
        69 MB    ocspd
        60 MB    WindowServer
        43 MB    Dock
        30 MB    Finder
    Virtual Memory Information: ℹ️
        1.68 GB    Free RAM
        1.20 GB    Active RAM
        384 MB    Inactive RAM
        1.03 GB    Wired RAM
        948 MB    Page-ins
        0 B    Page-outs
    Diagnostics Information: ℹ️
        Mar 11, 2015, 08:55:40 PM    Self test - passed
        Mar 11, 2015, 05:13:17 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/iPhoto_2015-03-11-171317_[reda cted].crash

  • Scrolling table need a lot of memory ?

    Hi,
    in my application I use a table to show some data acquisition result.
    I've seen that if I use the scrollbar the PC uses a lot of memory to update the table.
    Is it possible to set some property to update the table data just when I release the scrollbar?
    I see that if I move the scrollbar when the program acquire data the PC (dual-core) uses 100% of one core and sometime I got timeout in the acquisition.
    Thanks a lot

    How much data are you trying to display? 1M, 10M 100M pts?  you might want to display it in an array with the scroll bar turned on, you can make it look just like a table.  Tables ususally use strings and increase the ram required.  If you are using a huge data set you can not hold it all in memory at once and should purge the data to file as the data grows too large (RAM is a limited resource keep your data in ram to less than 10's of MB)  First thing move the daq out of the user interface, this should be in its own loop (see producer-consumer modes) your daq should never timeout.  I use in architecture with three loops for most of my daq with queued message passing, a GUI/event loop, a DAQ loop and a data processor/display loop.
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • PrintStram Object taking a lot of memory (urgent)

    Hi,
    I have this peace of code which is a part of exception logging. I am analysing this code and I do not think the the printstream object is released in any moment as a result this is creating a great deadlock in performance as it is consuming memory.
    I have another doubt when does this help (e.printStackTrace(ps); ) ???
    ByteArrayOutputStream ba = new ByteArrayOutputStream();
    PrintStream ps = new PrintStream( ba );
    e.printStackTrace(ps);
    String [] args = getArgs(arg1, arg2, arg3, ba.toString(), null);
    String [] msg = makeMessage(source, msgid, args);
    writeToErrorLog( msg[0] );

    I want to free the printStream object after using it since it is consuming a lot of memory. Pl not this
    method is used in almost a lakh of instances while procesing a transaction through different stagesThat's very interesting -- if you set your locale to India, are units displayed in lakh-bytes instead of mega-bytes?

  • Reg:Component Controller Deleted

    Hi,
    I am using a DC which when it is builded frequently giving "Out of Memory" error.This has lead to a very serious problem which is "Component controller got deleted".Can anyone tell me the reason for :
    1)How to rresolve "Out of memory" error?
    2)Reason for deletion of component controller?
    Thanks,
    Durga Rao.

    Hi Durga,
    We faced the same problem. But, in our case we were working in a server environment and due to the tight schedule we could not investigate the issue.
    The possible reason for this is the NWDS eats up all the physical memory available.
    You could try and change some of the java (JVM) for the NWDS or incearse the RAM or virtual memory.
    Regards,
    Kartikaye

Maybe you are looking for