Can we ensure memory is released from bpel , to be picked by GC

Dear All,
We are in production support senario.
We are doing memory intensive operations using BPEL.
We are looking for ways to optimize db adapter peformance.
We are looking for ways to ensure that memory is released by bpel after operations.
Please suggest
Regards
Arc

hmmm - if you'd be a little more specific - we should be able to help you better. Is there anything un-normal that you see? a heap dump might reveal if there are options to towards mem tuning.
also what is the version of bpel that you are using.
--- A couple of thoughts regarding memory tuning.
a) keep variables scoped - and not global - that helps us to collect / recycle them faster - especially during a while loop
b) in some cases pass by reference should help (skipDeepCopy property on the partnerlink) - by default we do a copy by value
c) if you use stylesheets (xsl) there is a known xml parser leak - patch downloadable from metalink.
cheers

Similar Messages

  • LR 2.3RC - Memory not released from Develop

    I am running 2.3RC under Windows XP. It's going fine but it still has a memory issue that I observed under 2.2.
    After going from Library Grid to Develop, then going back to Grid without doing any actions in Develop (actually, it doesn't matter whether you do anything or not), I see approximately an extra 180M in the VM size in Windows Task Manager. If I then go into Print the VM size stays about the same - about 180M bigger than it should be.
    However, if instead, once I return to Grid from Develop, I then use the arrow key and select another image, the memory is released. I can then go back to the original image and the memory does not increase. Then I can go to Print and, once again, the memory does not increase (some minor change - in fact, on my machine, it goes down!).
    Looks like as long as the original image is selected, memory from Develop is not being released. As I said at the outset, this is not new in 2.3RC - it also happened in 2.2.
    Also - no local adjustments were or have been made to the image in question.
    Anyone else see this on their machines?
    Selby Shanly

    Ian and Simon - you are correct, it is not a leak. Please note that is 180M - not 180K.
    Of course, as users, we simply don't know whether or not it is cached information that actually gets reused, or just a mistake.
    The Print Spooler under XP takes a good chunk of memory - why fight for it with LR? What about Photoshop? Often the next thing I do after Develop is go to PS to do soft proofing. PS could use that memory.
    The question to Adobe is whether or not this is an oversight. If it is then they alone are in the position to evaluate the risks of changing the code - it might be utterly trivial. If it is deliberate and provides efficiencies then at least it would be interesting to know!
    Even with the size of current machines, 180M of memory (YMMV) is still not something to use up lightly for no benefit. And for users who are tight on memory and at the knee of the performance curve, it might make a noticable difference.
    But all of this is speculation on my part - let's see what Adobe says.
    I do appeciate the comments. Thanks.
    Selby

  • How can I call external web service from BPEL

    1. I have "EmpService" webservice (simple webservice to get emp salary, not in BPEL domain) running in Oracle AS host1. If I want to call this web service from BPEL in another host2. How can I do this?
    2. Is it a must to deploy this EmpService to Oracle BPEL domain in order to call it? If so, how can I deploy it. As many BPEL example tutorial demonstrate the "obant" command to deploy the BPEL process, but not show how to deploy a external web service not in BPEL project. Please help. ...

    Create a partner link in BPEL and point it to the WSDL deployed on external server.
    this thread will also help
    Axis generated WS to Bpel WS

  • How we can block creation of PM order from non released notification

    Hi ,
    how we can block creation of PM order from notification if notification is not released.
    Regards
    AM

    Hi Luke and Maheshwaran ,
    thanx for your reply.
    One more thing the option 2 has not been suggested by some users in the thread mentioned by Maheshwaran.
    Can I still use BS22 or option 1 is the best one.
    REgards
    AM

  • Im syncing my iphone to itunes because i cant unlock the phone due to water damage so that i can take what is on it and put it on a new phone. how can i ensure that everything was taken from the phone and where can i find it in itunes?

    my phone recently suffered water damage so that the screen does not reigster when i slide to unlock. I am sycing the data from the phone onto itunes so i can put it onto a new phone. How can i ensure that i took everything off of the old phone before i restore it and where can i find all of that stuff when i sync with the new phone?

    iTunes will only store a back up of the iPhone and you find this by following the steps below:
    Windows
    Edit>Preferences>Devices
    Mac
    iTunes>Preferences>Devices
    The link below can show you what is stored in an iTunes back up:
    iTunes: About iOS backups

  • How can a JMS adapter be configured in BPEL to consume messages from multiple queues ?

    How can a JMS adapter be configured in BPEL to consume messages from multiple queues ?

    If you want to use JMS with AQ as datastore then there is some configuration you need to do to enable this. This is outside SOA Suite per sa, e.g. no adapter required.
    If you want to connect to the AQ direct then use the AQ adapter.
    this blog may be of some help understand the configuration
    http://biemond.blogspot.com/2008/01/oracle-jms-with-esb-and-bpel.html
    cheers
    James

  • [svn] 2692: Bug: BLZ-227 - When using JMS Destination, MessageClient and FlexClient not released from memory when the session times out .

    Revision: 2692
    Author: [email protected]
    Date: 2008-07-31 13:05:35 -0700 (Thu, 31 Jul 2008)
    Log Message:
    Bug: BLZ-227 - When using JMS Destination, MessageClient and FlexClient not released from memory when the session times out.
    QA: Yes
    Doc: No
    Checkintests: Pass
    Details: Fixed a memory leak with JMS adapter. Also a minor tweak to QA build file to not to start the server if the server is already running.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-227
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/services/messaging/adapters/J MSAdapter.java
    blazeds/branches/3.0.x/qa/build.xml

    Revision: 2692
    Author: [email protected]
    Date: 2008-07-31 13:05:35 -0700 (Thu, 31 Jul 2008)
    Log Message:
    Bug: BLZ-227 - When using JMS Destination, MessageClient and FlexClient not released from memory when the session times out.
    QA: Yes
    Doc: No
    Checkintests: Pass
    Details: Fixed a memory leak with JMS adapter. Also a minor tweak to QA build file to not to start the server if the server is already running.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-227
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/services/messaging/adapters/J MSAdapter.java
    blazeds/branches/3.0.x/qa/build.xml

  • HT204384 Can I use a memory stick pro from sony with the SDXC slot?

    Is it possible to use the Memory Stick Pro from Sony in the SDXC slot on the MacBook Pro?

    How could anyone "take it wrong"? Anyone can see at a glance that you're raging mad, shouting at the top of your lungs and ignoring the terms of use you agreed to abide by in posting here, all because you haven't read the guide that came with your computer and you're trying to make it do something it can't. Your SD card slot is for SD cards.

  • How can one invoke a WebLogic EJB from a BPEL Server hosted on OC4J?

    How can one invoke a WebLogic EJB from a BPEL Server hosted on OC4J?
    Reason I ask is I keep getting this error:
    javax.naming.NoInitialContextException: Cannot instantiate cla
    ss: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotF
    oundException: weblogic.jndi.WLInitialContextFactory]
    Note: I am using <bpelx:exec> as a way to execute some java program.
    Essentially my java client (essentially an EJB client hosted on Oc4J) needs access to wlclient.jar since it needs access to weblogic.jndi.WLInitialContextFactory. I have a EJB client running on BPEL server hosted on Oc4J that needs to access some EJBs hosted on weblogic.
    Where do I place this wlclient.jar so that BPEL PM can start peacefully and at runtime discover the InitialContextFactory classes?
    Placing it in the j2ee/home/applib doesn't solve the problem. The server fails to start up if I do this
    I tried placing it in BPEL-INF\lib directory ...
    I still get the same exception...see below for exception dump
    I verified the BPEL suitcase, and it in fact does contain the jar file wlclient.jar
    integration\orabpel\domains\default\deploy contains the bpel_BPELProcess2_1.0.jar file and snapshot of that is as follows:
    <PRE>
    &#9474; bpel.xml
    &#9474; BPELProcess2.bpel
    &#9474; BPELProcess2.jpr
    &#9474; BPELProcess2.wsdl
    &#9474; bpel_BPELProcess2_1.0.jar
    &#9474; build.xml
    &#9474; buildxml.copy
    &#9474; graphics.xml
    &#9474;
    &#9500;&#9472;&#9472;&#9472;BPEL-INF
    &#9474; &#9492;&#9472;&#9472;&#9472;lib
    &#9474; myEJB.jar
    &#9474; wlclient.jar
    &#9474;
    &#9500;&#9472;&#9472;&#9472;META-INF
    &#9474; MANIFEST.MF
    &#9474;
    &#9492;&#9472;&#9472;&#9472;output
    bpel_BPELProcess2_1.0.jar
    </PRE>
    I tried using the BPEL-INF\jar directory...Is this something the obant automatically detects? or do I have to modify the build.xml? I created this directory and let Jdev deploy to local BPEL server->default domain handle it
    #####################3
    I even tried copying the wlclient.jar to
    integration\orabpel\system\classes but this doesn't help since the BPEL PM fails to start if I explode this jar into this directory.
    In short,where do I place the wlclient.jar so that this exception can be contained.
    I edited the build.xml to point to the jar, that too didn't work, unless I made some mistake in the file
    <bpelc classpath="${basedir}/BPEL-INF/classes;${home}/system/classes;${home}/lib/j2ee_1.3.01.jar;${basedir}/BPEL-INF/jar/wlclient.jar" input="${basedir}/bpel.xml" rev="${rev}" deploy="${deploy}" />
    </target>
    </project>
    DETAILS on ERROR
    I get the following error
    Process "BPELProcess2" (revision "1.0") successfully compiled.
    <2005-12-14 09:17:55,770> <INFO> <default.collaxa.cube.engine.deployment> Proces
    s "BPELProcess2" (revision "1.0") successfully loaded.
    05/12/14 09:18:36 weblogic.jndi.WLInitialContextFactory
    javax.naming.NoInitialContextException: Cannot instantiate cla
    ss: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotF
    oundException: weblogic.jndi.WLInitialContextFactory]
    05/12/14 09:18:36 at javax.naming.spi.NamingManager.getInitialContext(Nami
    ngManager.java:652)
    05/12/14 09:18:36 at javax.naming.InitialContext.getDefaultInitCtx(Initial
    Context.java:243)
    05/12/14 09:18:36 at javax.naming.InitialContext.init(InitialContext.java:
    219)
    05/12/14 09:18:36 at javax.naming.InitialContext.<init>(InitialContext.jav
    a:195)
    05/12/14 09:18:36 at com.ejb.test.MapFinder.getDefaultMapName(Map
    Finder.java:37)
    ##################3
    with the bpelx all I have is two lines of code that creates a java object and calls a method on it.
    The method does this:
        private String initialContextFactory = "weblogic.jndi.WLInitialContextFactory";
        private String providerUrl = "t3://localhost:7001";
        private String urlPkgPrefixes = "";
        private String mapEjbJndiName = "ejb/mycompany/Redlands";
        public String getDefaultMapName() {
          try {
              Hashtable env = new Hashtable();
              env.put(Context.INITIAL_CONTEXT_FACTORY, getInitialContextFactory());
              env.put(Context.PROVIDER_URL, getProviderUrl());
              if (getUrlPkgPrefixes() != null && !getUrlPkgPrefixes().equals(""))
                  env.put(Context.URL_PKG_PREFIXES, getUrlPkgPrefixes());
              System.out.println("    " + getInitialContextFactory());
              System.out.println("    " + getProviderUrl());
              System.out.println("    " + getUrlPkgPrefixes());
              System.out.println("    " + getEjbName());
              // Get a naming context
              context = new InitialContext(env);
               Object ms  = context.lookup(getEjbName());
              MyEJBHome home = (MyEJBHome ) PortableRemoteObject.narrow(ms, MyEJBHome.class);
              myEjb = home.create();
              return myEjb.getDefaultName();
          } catch (RemoteException re){
              System.out.println(re.getCause().getMessage());
          catch (Exception ex) {
              ex.printStackTrace();
          return null; //if unable to resolve the context factory etc...
        }

    I did exactly as you suggested. I edited the application.xml and added this
    <library path="C:\ArcGIS\test\bea\wlclient.jar"/>
    I didn't add weblogic because the needed classes were all in wlclient.jar
    I also edited the BASE_OB_CLASSPATH to include this jar.
    Here is the result when I just start BPEL PM Server. Somehow BPEL PM doesn't like to have wlclient.jar in its classpath during startup.
    Failed to create "worker" bean; exception reported is: "javax.naming.NameNotFoun
    dException: remaining name: env
    at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:49)
    at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:57)
    at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:62)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at com.collaxa.cube.engine.ejb.impl.WorkerBean.ejbCreate(WorkerBean.java
    :49)
    at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.evermind.server.ejb.MessageDrivenHome.getInstance(MessageDrivenHo
    me.java:1235)
    at com.evermind.server.ejb.MessageDrivenHome$2.run(MessageDrivenHome.jav
    a:1150)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    <2005-12-29 13:39:05,281> <ERROR> <collaxa> <ServerManager::loadAllDomains>
    ORABPEL START-UP ERROR!!!!!!!!
    OraBPEL run-time system failed to start due to exception:
    Could not initialize jms connection pool.
    Could not initialize connection pool for connection factory "java:comp/env/jms/
    ollaxa/BPELInvokerQueueFactory"; the reason is remaining name: env/jms/collaxa/
    PELInvokerQueueFactory.
    Note: So what I did was to removed the entry from application.xml and tried with just obsetenv.bat having the wlclient.jar added to it. This too failed!!
    Here is a snapshot of the error I got.
    Process "BPELProcess2" (revision "1.0") successfully compiled.
    <2005-12-29 13:53:11,207> <INFO> <default.collaxa.cube.engine.deployment> Proces
    s "BPELProcess2" (revision "1.0") successfully loaded.
    05/12/29 13:53:32 Cannot instantiate class: weblogic.jndi.WLInitialContextFactor
    y
    05/12/29 13:53:32 javax.naming.NoInitialContextException: Cannot instantiate cla
    ss: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotF
    oundException: weblogic.jndi.WLInitialContextFactory]
    05/12/29 13:53:32 at javax.naming.spi.NamingManager.getInitialContext(Nami
    ngManager.java:652)
    05/12/29 13:53:32 at javax.naming.InitialContext.getDefaultInitCtx(Initial
    Context.java:243)
    05/12/29 13:53:32 at javax.naming.InitialContext.init(InitialContext.java:
    219)
    05/12/29 13:53:32 at javax.naming.InitialContext.<init>(InitialContext.jav
    a:195)
    05/12/29 13:53:32 at com.esri.adf.ejb.test.MapFinder.getDefaultMapName(Map
    Finder.java:57)
    05/12/29 13:53:32 at bpel.p0.ExecLetBxExe1.execute(ExecLetBxExe1.java:62)
    05/12/29 13:53:32 at com.collaxa.cube.engine.ext.wmp.BPELXExecWMP.__execut
    eStatements(BPELXExecWMP.java:49)
    05/12/29 13:53:32 at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perfo
    rm(BPELActivityWMP.java:185)
    05/12/29 13:53:32 at com.collaxa.cube.engine.CubeEngine.performActivity(Cu
    beEngine.java:3398)
    05/12/29 13:53:32 at com.collaxa.cube.engine.CubeEngine.handleWorkItem(Cub
    eEngine.java:1905)
    05/12/29 13:53:32 at com.collaxa.cube.engine.dispatch.message.instance.Per
    formMessageHandler.handleLocal(PerformMessageHandler.java:75)
    05/12/29 13:53:32 at com.collaxa.cube.engine.dispatch.DispatchHelper.handl
    eLocalMessage(DispatchHelper.java:100)
    05/12/29 13:53:32 at com.collaxa.cube.engine.dispatch.DispatchHelper.sendM

  • Can I update memory flash on mac book pro 15.4 inches from 256 to 500 gbs

    can I update memory flash on mac book pro 15.4 inches from 256 to 500 gb

    Possibly. http://www.macsales.com has DIY kit &amp; instructions

  • Can we migrate SAP 40B release system from windows NT to windows 2003.

    Hi,
    We want to know can we migrate SAP 40B release system from windows NT to windows 2003 server; if yes, please share with us the OS migration document.
    Regards,
    R Mav

    > Our SAP 4 O B is on windows NT and oracle version is 8.0.5 and wants to do OS migration from NT to win. 2003.
    Neither Oracle 8.0 nor 8i were releases on Windows 2003, they won't work and are not released.
    So I'm afraid the only way you can go is Windows 2000.
    Markus

  • Why does iPhoto not recognize the .jpg pics from a Kodak C875 now? I can stick my memory card in the iMac and import them that way, but iPhoto will not import the pics from the camera.

    Why does iPhoto not recognize the .jpg pics from a Kodak C875 now? I can stick my memory card in the iMac and import them that way, but iPhoto will not import the pics from the camera.

    There have been many issues reported with Kodak cameras - serach the forums for them
    Actually the best practise is to use a card reader to import your photos, verify that they are imported ocrrectly and wait at least one backup cycle and then use the camera's format command to reformat the card and erase it - this assures no lost photos and always having the card properly formatted
    LN

  • HT204022 If I delete my photo stream photos off of my iPhone will they also delete from my photo stream on my MacBook Pro? If so how can I ensure that those photos are saved?

    If I delete my photo stream photos off of my iPhone will they also delete from my photo stream on my MacBook Pro? If so how can I ensure that those photos are saved?

    They will not be deleted if they have been imported to your iPhoto library.  To ensure this happens automatically, go to iPhoto>Preferences>iCloud and check Automatic Import:
    To confirm that they have been imported to your library, click on iCloud on the left sidebar of iPhoto, open your My Photo Stream album on the right, then Control-Click on your pictures.  If you see "Show in Library" in the pop-up, the picture has been imported to your library and you can safely delete it from photo stream.

  • I have a iMAC(got it in less than 2 months ago), can I change the memory(upgrade it from 4 GB to 8GB) myself? I mean I need to open the screws and exchange the memory chips. Does it cancel the guarantee?

    I have a iMAC(got it in less than 2 months ago), can I change the memory(upgrade it from 4 GB to 8GB) myself? I mean I need to open the screws and exchange the memory chips. Does it cancel the guarantee?

    No, unless you break something or install the wrong RAM, new RAM is not covered by warranty/AppleCare of course.
    https://support.apple.com/kb/HT3011
    https://discussions.apple.com/docs/DOC-4291

  • How can I ensure itunes purchases (music, apps) are paid using credits which show on the account instead of billed to my credit card?  Info indicates credit is used first but I just bought a song and it did not seem to be deducted from my credits.

    How can I ensure itunes purchases (music, apps) are paid using credits which show on the account instead of billed to my credit card?  Info indicates credit is used first but I just bought a song and it did not seem to be deducted from my credits shown on account.

    Hello how to use this,
    The article linked below details how to go about viewing your purchase history in the iTunes Store.
    See your purchase history in the iTunes Store
    http://support.apple.com/en-us/HT2727
    Cheers,
    Allen

Maybe you are looking for

  • Automated Payment Program (F110) error.

    Hi All, I am facing an error while running APP details are below :- when i do the payment proposal creation, and run the log the following error is found: Internal error: doc.balance not zero / comp.code 3992 vendor 1000100230 customer Message no. FZ

  • .doc to pdf using jakarta tomcat POI

    Hi I need to convert my test.doc file in to test.pdf.I found a API jakarta tomcat POI project handling file systems 1) is it possible to do that?(test.doc convert to test.pdf) 2) do i have to use POIFS API or HSSF API HPSF API?which API 3) do i have

  • Launch URL in new window?

    Is it possible to launch a URL to open a webpage from within captivate and have it open in a completely new window with a predefined window size. If I select the - Open URL or file with the New option- it will launch the webpage in a new tab which is

  • Modify Syntax on Internal table of type ANY TABLE

    Hi, I have declared one internal table which is of type ANY TABLE. In the Loop statement, I am trying to Modify that Internal table from WA. Then I am getting one Error message "You cannot use explicit or implicit index operations on tables with type

  • Trade In Credit?

    In July I went in to change my plan.  I cancelled a few numbers on my plan and with one in particular I asked the Representatve if they were still doing the phone buy back.  He said yes and gave me a quote for the value of my phone on the spot.  I th