How to decrease the memory usage??

hi
iam new to java programmning.
I have developed a project using swings.
It is like an IDE to the user where he can create some applications
PROBLEM:After creating some 100 applications it is becoming very slow.
The flow is:
1) Intially launches the JtabbedPane with some panes in it
2) User fills all the details and then clicks on save
3) it saves the application and then prompts the user to create one more application if the user clicks on "yes"
iam doing a cleanup process here that is just assigning all the created objects to null and reinitialising again(acc to requirement)
If the user clicks on "no" just do a cleanup process and removes all the pane from the jtabbedpane
The memory always increases but doesnt decrease...
can anyone suggest..
thanks in advance

There's almost never a reason to call System.gc(), and
there's never a guarantee that it will do anything at
all. It suggests to the VM that now might be a good
time to run gc, but the VM is free to do whatever it
wants with that suggestion, including ignore it.If you look at it that way then there's probably almost never a reason to use advisory file locks either. It's not a strongly enforced policy but it has it's uses all the same.
True, there is no guarantee that it will work but it is in effect a kick aimed at the VM to tell it that maybe some garbage collection would be a good idea.
If you are working with a program that uses large amounts of memory then calling the garbage collector at certain points can help quite a great deal. Have a look at this example:
http://www.devdaily.com/java/edu/pj/pj010008/index.shtml
I agree that watching your references is the way to ensure that objects are scrapped properly. Many classes dont have the convenience of cleanup methods so this can be one of the only ways. You can also check out the java.lang.ref package for further means to interact with the garbage collector.

Similar Messages

  • How to fix the memory usage of Ely`s FlexBook is insanely increasing when turn page that contains large images?

    Hi,
         I am using flexbook for newspaper project. We have lots of huge size images in our app,all more than 1 MB. I use SuperImage as flexbook content,I also noticed that the application was using huge amounts of memory and crashed IE6, IE7,IE8 and Firefox. I found that flexbook updateDisplayList method call many times and each time flexbookpage call copyInto method when turg page,this cause memory growing. And memory not released when call commitProperties method.
    I would really appriciate any help because I have no clue how to fix it.(我的英语不好,但是我真的很着急。)
    See my partial code below how I am using the flexbook.
         //从后台Java代码得到报纸页面集合
         var list_pages: ArrayCollection = event.result as ArrayCollection;
         pageList = list_pages.toArray();
         //显示右侧报纸版面列表
         getPageListDisp();
         //画布擦除所有子元素
         can.removeAllChildren();
         //创建FlexBook
         var book:FlexBook =new FlexBook();
         book.height=0.9*h;
         book.width=0.8*w;
        //FlexBook需要配置的属性
         book.itemSize="halfPage";
         book.animateCurrentPageIndex=false;
         book.animatePagesOnTurn=false;
         book.setStyle("edgeAndCornerSize",120);//翻动的页脚大小
         book.setStyle("activeGrabArea",1);//把翻动的范围设置为页边
         book.scaleX=sldrb.value;//设置book的放大比例
         book.scaleY=sldrb.value;
        var con:Array = book.content;//为book添加报纸版面
        con.push(new Image());
         for(var i:int=0;i<pageList.length;i++){
         var img:Image=new Image();
         img.source=pageList[i].pageBigImgUrl;
         img.maintainAspectRatio=true;
         con.push(img);
        book.content = con;
         can.addChild(book);
    <mx:Panel id="test1" width="80%" height="100%" horizontalScrollPolicy="off" verticalScrollPolicy="off" paddingTop="15" paddingBottom="15">
        <mx:Canvas id="can" scaleX="{sldrb.value}" scaleY="{sldrb.value}" click="MouseEventFunc(event)" borderColor="#8EC7EF" backgroundColor="#FFFFFF" horizontalScrollPolicy="off" verticalScrollPolicy="off" alpha="1.0" buttonMode="true" mouseDown="MouseEventFunc(event)" mouseUp="MouseEventFunc(event)">
          </mx:Canvas>
       </mx:Panel>

    Or you could include a width to your body style:
    body {
    background-image: url(Logo/sky1.jpg);
    background-position: center center;
    background-attachment: fixed;
    width: 75%;}
    It might work or not depending on your other color scheme.

  • How to decrease the ADO connection memory?

    Hello!
    I wrote a vb application that have a connection to Oracle DB.
    Only the connection 'coast' me 7MB of memory in the client.
    There is something i can do to decrease the memory usage.
    Thank's in advance.
    Noam.

    I am getting this when I pull data from a table that has over 100 columns and I only pull 25 rows. The columns have some CLOBS in them.
    I have been dealing with this issue for 8 years since I started using Oracle 8 client etc...
    I has had patch after path reporting to fix this, and has got better, but the leak still crops up always.
    I am going to try the latest ODAC drivers for 10.0.2.0.2 We are using Oracle 10.0.2.0.1 client drivers to the same db.
    I would suggest you remove CLOBS, place the CLOBS as the last columns in the table/select statement, switch to ODBC, write your own driver or rewrite your product in ASP.NET 2.0 and use the Oracle .NET driver. Oh and pray!
    I have probably torn half my hair out over the years cos of this 1 issue.

  • How to check the memory and CPU usage on NPU

    Hi expert ,
    Could you tell me how to check the memory and cpu usage on NPU?
    I think ASR1000 has this command (show platform hardware qfp active...) , but I coudn't find the same command on ASR9001.
    I checked " show controllers np counters all"  command, but I did not find it.
    Platform: ASR9001
    version: 4.3.2
    NP: Tyhoon
    Thanks,

    Hi Kanako,
    understand your question, but something like that doesnt exist for the trident/typhoon NPU's for the asr9k.
    in fact cpu usage is not really applicable for parallel/serialized hardware forwarders, but mainly the KPI is here
    the PPS it handles.
    The max pps it can handle is dependent on feature set.
    What you could do is measure the rates on the PARSE_FABRIC_RECEIVE count (packets received from fabric, so egress direction), PARSE_ENET_RECEIVE count (packets received from the interface to the fabric, so ingress) and the LOOPBACK count, that is packets that are recirculated for extra processing. The sum of these 3 gives an idea of the PPS rate the NPU is working on.
    Memory consumption is something tricky also, there are many memories attached to the NPU, notably:
    TCAM used for vlan matching, ACL and QOS matching
    Search memory for L2 and L3 (shared on Trident, separated on Typhoon)
    Frame memory for packet bufferin in QOS
    Stats memory, for all kinds of counters of QOS maps, interface stats etc
    their usage is rather dynamic also.
    The few things you want to verify on these are:
    - ACL usage (in terms of Tcam entries)
    - MAC table size (2M max on typhoon)
    - FIB size (4M max on typhoon)
    frame memory is dependent on the buffering, which is a sum of all the packets instant queue length and size of all pmaps attached to interfaces served by the same NPU. there is no good overview as to how much you have available of that, but it has a rather significant size 1G or 2G depending on the TR or SE cards (typhoon specific).
    regards
    xander
    Xander Thuijs CCIE #6775
    Principal Engineer 
    ASR9000, CRS, NCS6000 & IOS-XR

  • How to check the Memory consumtions and time taken by a Java Program??

    HI all,
    I want to know how to check for the Memory Usage of an XML Parser.
    See, a product was developed completely in DOM parser and now I am replacing that thing with SAX Parser Completely, because the DOM parser was taking huge memory as u may have guessed.
    BUt the thig is that, now I want to check how much memory is being taken by the SAX parser alone and DOM parser alone so that I can compare them.
    Can anyone suggest me how to do that ???
    Thanx in Advance
    Kaushik

    Thanx boss ..thanx a lot
    I tried that, but in the API docs, it is mentioned that freeMemory()Returns the amount of free memory "in the system"
    and totalMemory() Returns the total amount of memory in the "Java Virtual Machine".
    So if I compare both the Values then would it give the Correct result to me ???? Beacuse the freeMemory() gives the data in terms of the Host System whereas totalMemory() provides the data in terms of Java Virtual Machine ..... are they Same ?????
    I think I am clear in explaining what exactly is going on my mind ...
    Please clarify
    Thanx again
    Kaushik

  • How to define the memory leak in stability test

    Hi
    Usually, we run our system with 70% CPU load for 72 hours for stability test (on solaris 10), because some plugin of our system is using mtmalloc, and we use prstat to monitor the memory of each plugin. But because of the complex memory usage of our application, we don't know when the application will use the Max memory, and because of the "mtmalloc", the memory showed by "prstat" will not released but continually increased.
    So fro the test point of view, there is the risk of memory leak, but actually, there may be no memory leak, so my question is how to define the memory leak in such condition.

    kevin wrote:
    Thank you for the input and all the info.
    isn't java heap the same as memory allocated to the java process in my weblogic
    starup script ?The heap is sized by the -Xmx and -Xms parameters you pass on the java
    command-line. The permanent generation is separate.
    >
    let me also download jprobe and try to run it and see what it gives me.
    I'd start by running with -verbose:gc. I'd want to know whether you're
    running out of heap or permgen space.
    -- Rob
    kevin
    Rob Woollen <[email protected]> wrote:
    Unfortunately memory leaks are not fun to track down even with tools.
    I'd first suggest determining whether you're running out of space in
    the
    permanent area (where classes are loaded), or you've exhausted the java
    help space.
    I'd start by adding -verbose:gc. Look at the gc messages right before
    you hit the OutOfMemoryError. If there's plenty of space left, I'd
    suspect you're running out of perm space. Search these newsgroups and
    the web for MaxPermSize, and you should see plenty of info.
    If you're running out of java heap, tools like jprobe and OptimizeIt
    are
    helpful. If you can tell me a little more about your application and
    how you're testing it, I can offer some more tips.
    -- Rob
    kevin wrote:
    Iam new to JAVA and weblogic. I have an application that runs out ofmemory time
    and again.
    please let me know how to pin point this problem and moreover, howto interpret
    or understand that there is a problem. I have downloaded JPROFILE tool,but it
    is very confusing to understand what is goin on in this tool.
    If somebody can let me know how to interpret and understand the memoryleak, that
    will be great !!!
    thank you.

  • S.o.s. how to set a memory usage limit in flash cs4?

    flash is using 1 200 000 k. and i cant work in this situation. i know that i can limit the usage of memory in ps cs4. but i dont know how i do it in flash. is there a way of limiting the memory usage or making flash use memory as much as this?

    Thats all my poblems!!!
    I used File Monitors from Sysinternals and I see, that Flash operated with C:\xalan\xercesImpl.jar (on my system), and can't find C:\Program Files\Adobe\Adobe Flash CS4\META-INF\services\org.apache.xerces.xni.parser.XMLParserConfiguration  and others...
    I temporary remove xalan - well - thats all - CS4 successfully compile, test, check codes !!!
    1) Adobe CS4 used Xerces Apache (and configurated himself, without us)
    2) Use Sysinternals to detect other file-problems
    On my machine Flash 8, CS3, CS4 - for adjusting project compatibility.
    ==========
    PS.  Читает то, что попалось первым
    ENVIRONMENT > CLASSPATH:
    .;C:\xalan\xalan.jar;C:\xalan\serializer.jar;C:\CODE\xalan-j\xml-apis.jar;C:\xalan\xercesI mpl.jar;%CLASSPATH%;C:\Program Files\Java\jre6\lib\ext\QTJava.zip
    Ну нравится Макромедиа-Адоб Флэш...

  • How to overcome the Memory leakage issue in crystal report 2008 SP2 setup.

    I have developed the small windows based application tool with help of  Visual studio 2008 for identify the memory consumption of crystal report object. It helps to load the crystal report objects in the memory and then released the object from the memory. The tool simply does the u201CLoading and Unloadingu201D the objects in the memory.
    The tool will be started once u201CTest_MemoryConsumption.Exeu201D executed. The u201CTest_MemoryConsumption.Exeu201D consumes u201C9768 KBu201D memory before load the crystal report object in memory. It means, 9768 KB is normal memory consumption for run the tool.
    Crystal report object initiated by the tool and object help to load the report in memory once the tool initiated the crystal report object. Now u201CTest_MemoryConsumption.Exeu201D consumes u201C34980 KBu201D memory during the crystal report object creation and report load process. The actual memory consumption of crystal report object is 34980u20139768=u201C25212u201DKBu201D. 
    The memory consumption u201C34980 KBu201D will be continued till the end of the process. The memory consumption will be reduced to u201C34652 KBu201D from u201C34980 KBu201D once report load process completed. It means, u201C328 KBu201D memory only released from the memory consumption. Tool enables the Release command for the crystal report object. But crystal report object does not respond to the command and will not release his memory consumption.
    The memory consumption u201C34652 KBu201D will be stayed in the memory once job ends.  If i again initiate the crystal report object then it crystal report object start to consume the memory from 34652 KB.
    Database objects and crystal report objects are properly used in the tool. The object release commands properly  communicated to crystal report setup. But the u201CCrystal report service pack 2u201D setup unable to respond the commands which has enabled from .Net Tool.  Crystal report objects are properly initiated and disposed in the tool. But the crystal report unable to release from the server.
    The memory consumption will be reduced once the server restarted or kill the application.
    Crystal report 2008 and crystal report 2008 SP2 setup available in the server.
    Microsoft .Net Framework 2.0 SP2, Microsoft .Net Framework 3.0 SP2 and Microsoft .Net Framework 3.5 SP1 are available in the server,
    Could you please suggesst how to avoid the memory consumption keep increasing and  how to release the memory consumption  once the crystal object disposed???

    Hi Don..
    My case is different one. I hope, the problem with Run time Installation setup file (Crystal report 2008 Serivce Pack2 installer) which we installed in the server.
    Let me explain with Live scenario which our client faced in crystal report 2008 Service pack2 Installer.
    Our client is using a application to help to print their reports. The application is developed with Windows service.
    Windows service keep on running in the server. Windows service executes the client 's crystal reports( Labels Report, Stock  report) which designed for clients need and the reports will be printed from printer. 
    10 Same type report (Label Report) will be printed in 1 minute. Reports are not printing during non business hours. But the windows service keep on running.  Memory cosumption of application will be 160 MB in business hours.
    For Example, On Monday the application memory consumption starts with 160 MB. The Memory consumption will be reached 165 MB  in peak business hours. Then the memory will be ended in163 MB in the End of Monday. It means, The memory consumption will be in 163 MB during the non business hours. Reports will not be printed in non business hours.
    On Tuesday, the application memory consumption starts with 163 MB and it will be reached 168 MB during the peak hours. The Memory consumption will be ended in 165 MB in the end of Tuesday.  The same process contiues till friday. End of friday, the memory consumption of the application will be ended with 170 MB.
    Application Memory Consumption slowly increasing in the server. In 5 days, Memory consumption reached Threshold value (170 MB) of the server. Application gets hanged up once the memory consumption reached 170 MB. We got the error messages as "Attempted to read write protected memory " / "Not Enough memory for process".  If we restart server / If we restart the service then memory consumption of application get reduced to 160 MB.
    From the above scenario, We came know that the either the problem with Application object or the problem crystal report object. In the application, We have checked dispose methods of application objects completly. I am sure that  application objects are properly disposed in the application. I hope the problem not with application objects. The problem with Crystal report objects.
    Application properly communicates the dispose methods to crystal report objects. Crystal report objects are not released from
    the memory.
    Crystal report 2008 Serive Pack 2 setup installed in the server. 
    As you said, If Crystal report runtime is not released from memory then memory consumption keep increase???  In service oriented architecture application, how to unload the crystal report runtime??
    Do you any fix for this kind of issue??
    Willl Crystal report 2008 service pack 3 help on this issue??

  • How to get less memory usage and cpu usage in an old pc with arch?

    hi, i installed archlinux sucessfully after some problems.
    but the system use a lot of memory (free said me 184mb) only with irssi, finch, mp3blaster and midori opened and is "slower" than when i used slitaz linux in it, why?
    well, the things that i installed in arch are:
    xorg + xf86-video-intel
    jwm
    irssi, finch, mp3blaster, htop.
    midori, opera, elinks, links-g, epiphany.
    geany, leafpad, go-openoffice, djview4, gnumeric, epdfview
    isomaster, inkscape, gpicview, cdrkit, mtpaint.
    pcmanfm, emelfm2, hal.
    octave, mathematica5, R, wxmaxima,gnuplot.
    nrg2iso, lxsplit, dclock.
    here is a screenshot:
    the pc have this skills:
    800mhz celeron 370
    MB gygabite gaw-mm7
    192mb ram pc100
    30 GB HD ide 5400 rpm
    some code now:
    lshw -businfo
    WARNING: you should run this program as super-user.
    Bus info Device Class Description
    =================================================
    system Computer
    bus Motherboard
    memory 183MiB System memory
    cpu@0 processor Celeron (Coppermine)
    memory 32KiB L1 cache
    memory 128KiB L2 cache
    pci@0000:00:00.0 bridge 82810 GMCH (Graphics Memory Controller Hub)
    pci@0000:00:01.0 display 82810 (CGC) Chipset Graphics Controller
    pci@0000:00:1e.0 bridge 82801AA PCI Bridge
    pci@0000:01:03.0 eth0 network IC Plus IP100A Integrated 10/100 Ethernet MAC + PHY
    pci@0000:00:1f.0 bridge 82801AA ISA Bridge (LPC)
    pci@0000:00:1f.1 storage 82801AA IDE Controller
    pci@0000:00:1f.2 bus 82801AA USB Controller
    pci@0000:00:1f.3 bus 82801AA SMBus Controller
    pci@0000:00:1f.5 multimedia 82801AA AC'97 Audio Controller
    lspci -v
    00:00.0 Host bridge: Intel Corporation 82810 GMCH (Graphics Memory Controller Hub) (rev 03)
    Subsystem: Intel Corporation 82810 GMCH (Graphics Memory Controller Hub)
    Flags: bus master, fast devsel, latency 0
    Kernel driver in use: agpgart-intel
    Kernel modules: intel-agp
    00:01.0 VGA compatible controller: Intel Corporation 82810 (CGC) Chipset Graphics Controller (rev 03) (prog-if 00 [VGA controller])
    Subsystem: Giga-byte Technology Device 0200
    Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 11
    Memory at e0000000 (32-bit, prefetchable) [size=64M]
    Memory at ee000000 (32-bit, non-prefetchable) [size=512K]
    Expansion ROM at <unassigned> [disabled]
    Capabilities: <access denied>
    00:1e.0 PCI bridge: Intel Corporation 82801AA PCI Bridge (rev 02) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
    I/O behind bridge: 0000c000-0000cfff
    Memory behind bridge: e7e00000-ebefffff
    Prefetchable memory behind bridge: dfc00000-dfcfffff
    Kernel modules: shpchp
    00:1f.0 ISA bridge: Intel Corporation 82801AA ISA Bridge (LPC) (rev 02)
    Flags: bus master, medium devsel, latency 0
    Kernel modules: iTCO_wdt, intel-rng
    00:1f.1 IDE interface: Intel Corporation 82801AA IDE Controller (rev 02) (prog-if 80 [Master])
    Subsystem: Intel Corporation 82801AA IDE Controller
    Flags: bus master, medium devsel, latency 0
    [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
    [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
    [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
    [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
    I/O ports at ff00 [size=16]
    Kernel driver in use: ata_piix
    Kernel modules: ata_piix, piix
    00:1f.2 USB Controller: Intel Corporation 82801AA USB Controller (rev 02) (prog-if 00 [UHCI])
    Subsystem: Intel Corporation 82801AA USB Controller
    Flags: bus master, medium devsel, latency 0, IRQ 9
    I/O ports at da00 [size=32]
    Kernel driver in use: uhci_hcd
    Kernel modules: uhci-hcd
    00:1f.3 SMBus: Intel Corporation 82801AA SMBus Controller (rev 02)
    Subsystem: Intel Corporation 82801AA SMBus Controller
    Flags: medium devsel, IRQ 10
    I/O ports at 04c0 [size=16]
    Kernel driver in use: i801_smbus
    Kernel modules: i2c-i801
    00:1f.5 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 02)
    Subsystem: Giga-byte Technology Device 2000
    Flags: bus master, medium devsel, latency 0, IRQ 10
    I/O ports at de00 [size=256]
    I/O ports at dc00 [size=64]
    Kernel driver in use: Intel ICH
    Kernel modules: snd-intel8x0
    01:03.0 Ethernet controller: Sundance Technology Inc / IC Plus Corp IC Plus IP100A Integrated 10/100 Ethernet MAC + PHY (rev 31)
    Subsystem: Sundance Technology Inc / IC Plus Corp Device 0201
    Flags: bus master, medium devsel, latency 64, IRQ 11
    I/O ports at cc00 [size=128]
    Memory at e8000000 (32-bit, non-prefetchable) [size=512]
    Expansion ROM at dfc00000 [disabled] [size=64K]
    Capabilities: <access denied>
    Kernel driver in use: sundance
    Kernel modules: sundance
    lsmod
    snd_ac97_codec 85937 1 snd_intel8x0
    snd_seq 42628 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
    snd_seq_device 4313 3 snd_seq_dummy,snd_seq_oss,snd_seq
    snd_pcm_oss 33693 0
    ac97_bus 750 1 snd_ac97_codec
    snd_mixer_oss 14810 1 snd_pcm_oss
    snd_pcm 57479 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
    snd_timer 16117 2 snd_seq,snd_pcm
    sundance 15991 0
    uhci_hcd 19124 0
    snd 43847 9 snd_seq_oss,snd_intel8x0,snd_ac97_codec,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
    mii 3218 1 sundance
    ppdev 4882 0
    i2c_i801 7122 0
    soundcore 5007 1 snd
    iTCO_wdt 7577 0
    ehci_hcd 31594 0
    lp 6616 0
    sr_mod 13161 0
    analog 7939 0
    psmouse 56309 0
    ns558 1931 0
    parport_pc 27680 1
    shpchp 26592 0
    intel_agp 23225 1
    button 3638 0
    thermal 9326 0
    processor 26494 1
    snd_page_alloc 5809 2 snd_intel8x0,snd_pcm
    iTCO_vendor_support 1453 1 iTCO_wdt
    gameport 7130 3 analog,ns558
    parport 26575 3 ppdev,lp,parport_pc
    pcspkr 1347 0
    usbcore 118921 3 uhci_hcd,ehci_hcd
    serio_raw 3620 0
    evdev 6970 8
    i2c_core 15369 1 i2c_i801
    cdrom 31625 1 sr_mod
    pci_hotplug 23492 1 shpchp
    agpgart 23331 2 intel_agp
    sg 21079 0
    rtc_cmos 7504 0
    rtc_core 12011 1 rtc_cmos
    rtc_lib 1450 1 rtc_core
    ext2 56463 1
    mbcache 4278 1 ext2
    sd_mod 24101 3
    pata_acpi 2264 0
    ata_generic 2235 0
    ata_piix 17725 2
    libata 135579 3 pata_acpi,ata_generic,ata_piix
    floppy 47412 0
    scsi_mod 78933 4 sr_mod,sg,sd_mod,libata
    i've read i can disable the kernel modules that i don't need to improve the memory usage.
    which modules i can disable without "kill my system"?. i don't want SATA, DVD, bluray, infrared, floppys, bluetooth, usb3.0, 3d video card, dial-up-integrated modem, ntfs, 'cause mi old is so old. i want it only for the university.
    thanks in advantage for the tips, and sorry if someone can't understand very well that i wanna tell you, english isn't my "mother languaje".

    thanks for the answers. yes, i have a 1 gb of swap.
    i think i can reduce the memory usage of the system if i dissable the kernel modules that i don't use. but, the question is: what modules is safe to disable to get it?
    thanks in advantage

  • How to decrease the width of left column in the "2 column layout"?

    Hi all,
    I create two webdynpro based iViews in the EP, then I create a page use the "2 column layout(Narrow:Wide)".I put one iview in the left column and another iview in the right column. When I preview my page, I found the left column still too wide. So how to decrease the width of my page's left column?
    Thanks and Best regards
    Deyang

    Hi Deyang,
    You have to create your own layout:
    - Navigate to System Administration->Support
    - Choose Portal Runtime -> Browse Deployment
    - Navigate under pcd or under temp, and download the layouts par (com.sap.portal.layouts.default.par.bak if I recall correctly)
    - Import that par as a project to Developer Studio
    - Make your changes (create a new jsp acording to the existing examples, and update the portalapp.xml accordingly)
    - Export to par (in a different name!) and deploy
    - In the portal content: new from par -> Layout (don't forget to mark it as a template).
    - Your new layout template will now be available when you create new pages.
    good luck!

  • How to enable the memory remapping in the bios?

    How to enable the memory remapping in the bios?
    my laptop: m100 psmaaq-00s003

    Without removing a specific Windows Update KB Patch, and two registry keys, you CANNOT uninstall the Flash Player ActiveX Plug-in for IE in Win 8.
    Microsoft released a new update for Flash Player in IE just the other day.
    Have you run Windows Update recently?

  • Please make the memory usage built-up a top priority to problemsolve.

    Hi, Firefox is my favorite browser on OSX) , but the memory usage is really getting annoying. It's been 2 yrs and I have to restart Firefox every couple of hours to keep the memory usage in check. If i don't do that
    I think this is a serious issue with your browser. None of the other browsers (Safari, Chrome)I use have this problem, however they're not that user-friendly in my opinion.
    Like I said it has been 2 yrs and the forums are filled with this topic, without any real solutions, are there actually people on this problem? It's a pretty big problem, and honestly I don't understand why there's no correspondence from Firefox, that they acknowledge the problem and they're working on it or something.
    Before those 2 yrs, never a hitch. The problem must've been introduced since FF21 or 22, not sure.
    I'm experiencing exactly the same as "Cyberpawz":
    https://support.mozilla.org/en-US/questions/958108?page=6
    I'm a avid Firefox user and just want the voices of the users experiencing this problem to be heard. And ofcourse the problem to be resolved.
    Thanks for listening!

    The memory issues will be real problems, just look at the viewing stats on the thread you linked to
    '' 104 replies, 94 have this problem, 7788 views ''
    The easy problems will have been identified and fixed. The difficult or least common ones need users able to help troubleshoot and most just want to complain not file bugs, (Please note such bugs will likely only be followed up if it is a Firefox bug or a problem with a single popular addon).
    If you follow the advice from ''Cor-el'' and try with a new profile with all plugins disabled you should find the problem goes away.

  • How to reset the military usage value in GTS Business partner

    Hello Experts,
    Does anyone know how to reset the Military usage value='2' to blank on the Business partner within GTS?
    I tried putting a blank there, clicking on the accept entries button followed by  saving the Business partner.
    It does not seem to work this way.
    Does anyone know if it's SAP bug for not having blank as one of the allowable values for the usage except when it's that way while newly created?
    The GTS implementation details are as follows:
    Any help with regard to this will be much appreciated......
    Thanks,
    Prashant.

    Prashant,
    As I already informed you, it is not possible to re-set the indicator to <blank>.
    From the program code, I can see that the usage indicator is only transferred from the feeder system during the creation of a customer partner.  The value in GTS is set either to '1' or '2' during creation, and cannot be changed by any subsequent data transfer from the feeder system.
    I think that logic is related to the fact that usage records may be created for multiple Legal Regulations, and those records may then be changed individually by the user in GTS.  On that basis, it would not be reasonable to over-write the values by re-transferring the customer from the feeder system.
    Regards,
    Dave

  • How to see the battery usage

    how to see the battery usage? my unit is iPod touch 5 generation.
    Message was edited by: CatrinaRD_16

    CatrinaRD_16
    how to see the battery usage? my unit is iPod touch 5 generation. 
    Message was edited by: CatrinaRD_16
    iPod touch, iOS 6.1.1
    like Diavonex stated, you could use an app created to check the battery percentage
    but remember, google is your best friend =^)

  • How to get the memory address of an array (pointer in C)?

    I am writing an application that exchanges data with a PXI device via DMA.  Basically I will provide it a memory address and a direction, and it transfers the data.  I would like to give it the memory location of an array in LabVIEW, but I do not know how to get the memory location without doing a DLL call to C code that returns the pointer.  Is there an easy way to do this in LabVIEW?  Any help is much appreciated.

    A similar question was asked recently regarding strings. You cannot pass pointers in LabVIEW as you do in C. You can pass an array to a DLL, but that means you would need to write a wrapper DLL. Be sure to read the section in the LabVIEW Help on calling code from text-based languages and also take a look at the "Call DLL" example that ships with LabVIEW  - it contains many examples of how to deal with various datatypes.

Maybe you are looking for