How to do memory profiling remotely???

Hi,
We are using JDeveloper 10g (10.1.2.1.0) and Oracle Application Server 10g (10.1.2.0.2) to deploy our web application, its running on a Solaris OS. We would like to know how to make a remote memory profiling for this configuration. JDeveloper help is very ambiguous, and very short.
Anybody could help us a little bit with this? How we can configure OC4J JVM to attend remote memory profiling requests? How we can connect and run the JDeveloper memory profiling extension over this OC4J JVM?....
Thanks in advanced.

Nice to read it ;-)
Any other option to profile memory remotely on Solaris and OC4J JVM? Maybe any JDeveloper plugging or any standalone recommendable product? Or I could thinking in cutting my veins already?
Thanks for your answer.

Similar Messages

  • How to enable Memory profiling?

    I created a simple empty project in Jdeveloper and created a sample standalone Class file. For some reason the Memory Profile option is not enabled. ( I have selected the class file. Even then it is not enabled.)
    JDeveloper version: 10.1.3
    JDK version 1.4.2_06 (Installed OJVM libraries)
    Thank you for your help!

    Nevermind. Just found the answer from this thread
    Profiler menu items not enabled
    Thanks.
    Yes. I am using OJC compiler instead of javac.
    Should I enable Remote Debugging and profiling? If so how to start the profiler, by default it is trying to connect port 8000 on localhost. Am I doing something wrong?
    Message was edited by:
    saro28

  • Remote Memory Profile

    Hi
    I would like to use JDeveloper (running on Windows) to remote memory profile an application running on an OC4J application server (running on Linux).
    In JDeveloper, I have specified a Run instance that uses the ojvm VM and has the Remote Debugging and Profiling option checked. When I run the Memory Profile, I am prompted for the server's name and port which I specify as 4000 --> is this correct? How do you know which port to specify?
    The OC4J runs as a cluster with a group consisting of two OC4J instances. On the group level, I specify the Start-parameters: OC4J Options as -ojvm -XXtimeport4000. The group seems to run ok with these settings, but whenever I actually try and connect from JDeveloper, I get the following output:
    Profiler attempting to connect to remote process at <my server's name> port 4000.......
    Profiler unable to connect to remote process.
    Can anyone point out to me what I am doing wrong or have not done?
    Thanks very much
    Aisling

    hi Aisling
    I have been able to do remote profiling using the documentation you also referred to:
    - "Starting a Java Process for Remote Profiling"
    - "Connecting the Profiler Remotely to a Java Program"
    The environment I used for this is MS Windows XP, JDeveloper 10.1.3.3.0 and a standalone OC4J 10.1.3.1.0.
    I noticed you mention "... an OC4J application server (running on Linux) ..." in your initial post.
    On of the steps for remote profiling is "Ensure that the version of Java you are using has the OJVM installed." and although the page "About Remote Debugging" is not explicitly about remote profiling, it says "OJVM is available on Windows platforms only.".
    regards
    Jan

  • Remote Memory Profiling

    Can anyone tell me how to set up remote memory profiling in TP4? The existing instructions for 10g do not address remote profiling. At one point I somehow found documentation on a profiling agent that is started from the command line but I cannot find that again. Anyway, I really need to profile a Tomcat application server, and it would be nice if TP4 could do the job. Maybe this type of thing would even convince my colleagues that JDeveloper is better than Eclipse or IDEA.
    Thanks In Advance, Keith

    'Cmon Team JDeveloper - in a matter of a few hours, I was able to download and setup NetBeans and start remote profiling my JDeveloper-developed web app on Tomcat. Surely somebody knows how to do this with JDeveloper!?
    I'm a long-time JDeveloper user and a very vocal proponent of the tool - I pains me to have to use another tool to do what JDeveloper should clearly be able to do. Heck, I'm willing to help document the process if someone can just help get me going on this.
    Jim

  • Can i run remote memory profiling and remote debugging at the same time .

    can i run remote memory profiling and remote debugging at the same time .
    i am using jdev9.0.5 and oc4j9.0.4 standalone server.
    how to write the batch file to run both at the same time

    Thanks for your help!
    Another question. How do you turn off the ATT wireless transmitter? Also, there are more computers connected to the 2Wire network. I will have to set up a wireless pc to work with the Base Station after disconnecting the ATT transmitter. Easy answers for both, I hope?

  • Remote Memory Profiling Web App on Tomcat/Linux?

    Is there a straightforward set of instructions somewhere for setting up JDev, Tomcat, the Web App, etc for remote memory profiling a web application running on a Tomcat installation on Linux? (JDev is on a Windows box)
    Thanks!
    Jim

    'Cmon Team JDeveloper - in a matter of a few hours, I was able to download and setup NetBeans and start remote profiling my JDeveloper-developed web app on Tomcat. Surely somebody knows how to do this with JDeveloper!?
    I'm a long-time JDeveloper user and a very vocal proponent of the tool - I pains me to have to use another tool to do what JDeveloper should clearly be able to do. Heck, I'm willing to help document the process if someone can just help get me going on this.
    Jim

  • Crash when starting a performanc​e/memory profile

    I'm having a catastrophic crash when I hit the 'Start' button in the Profile -> Performance and Memory... dialog. There is no error message whatsoever, and when I restart Labview, it only asks me about files to recover, it doesn't tell me where it crashed (i.e. somefile.cpp line ###). Well, it might have told me once, but now it doesn't, so unless there is a log of these things somewhere, I can't say much more.
    I'm using Labview 2009, and I'm having the exact same issue on at least 2 machines which are fairly different (Win XP 32 bit vs Win7 64 bit (with Labview 32 bit)).
    The application is pretty large (~1500 vi's), so it's kind of hard to tell what is making it crash.
    The problem can be replicated in different ways:
    1) Load main VI which loads all the VI's in memory
    2) Start Performance/Memory profile *crash*
    1) Load VI
    2) Start VI (runs in a loop)
    3) Start Performance/Memory profile while it runs *crash*
    1) Start Performance/Memory profile
    2) Some NI VI's show up in the list with '0' time everywhere
    3) Load VI
    4) Execute VI
    5) Stop execution of VI *crash*
    Any clues? Is there a log somewhere that could help me/you find the issue?
    I could spend all day trying to load different parts of the project and look for problems, but I have no idea what to look for.
    Last Friday I had successfully profiled what I wanted to, then I had another crash... Oh I remember now... I did a 'Search' in my project, looked for a particular string, and it crashed after a while in the middle of the search. Since then I was unable to use the profile tool. Could it be some data corruption? We use SourceSafe... so I wouldn't be surprised if it gave me a corrupted file If so, how could I find it?
    Thank you

    Hey Samapico,
    I actually found an incident like yours involving the performance and memory tool crashing when used for specific VIs which were very large. How big (in terms of filesize) is your VI?
    R&D found this issue in LV 2009 and fixed it in 2010 under Corrective Action Request 215410. 
    Is there any way you could try and test your issue out on a machine with LV 2010?
    <Joel Khan | Applications Engineering | National Instruments | Rice University BSEE> 

  • How can I tell what video card and how much video memory does my iMac have?

    How or where can I find out: which video card does my iMac have and how much video memory does it have? I've tried looking in System profiler, but I did not see it there. Thank you.

    Once you open System Profiler there should be a line called "memory" which is the RAM (vs. hard drive size which is not what is called memory), e.g., Memory: 1.5 GB
    For video click on the line Graphics/Displays and look at the chipset line, e.g., Chipset Model: GeForce2 TwinView
    Kappy's instructions are handy for checking the original configuration of your computer, but that may have been changed at some time, especially if you bought it secondhand.

  • Memory profiler disabled in JDeveloper 10.1.3.3.0.4157?

    Hi,
    I'm using JDeveloper 10.1.3.3.0.4157, and it seems that the memory profile is disabled in this version. Or isn't it? How do I enable it?
    Thanks in advance!

    Make sure your project is using the OJVM.
    See: http://blogs.oracle.com/shay/2007/02/are_you_getting_the_most_out_o.html

  • How to Create Roaming Profile(s) For Windows Workgroups

    This Tutorial Shows how to create roaming profile(s) for Windows Workgroups.
    Here are the steps in order to do this:
    On the host PC:
    1. Goto 'Folder Options'>'View' and un-tick 'Use Simple File Sharing'.
    2. Goto Network Connections and right click on the 'Local Area Connection' (Ethernet recommended)
    3. Goto Properties>General, and tick 'File and Printer Sharing'.
    Click Apply + Ok.
    4. Goto Control Panel>User Accounts, add a new user.
    5. Logon to this user, and open the profile folder properties.
    5b. Share this folder.
    6. Make the Share permissions so that 'everyone' has: Full Control, Read, Change.
    Click Apply + Ok.
    7. Click on 'Caching' and disable Caching for this Share.
    Click Ok.
    8. Now goto the 'Security' tab and give 'Administrator' and 'SYSTEM' 'Full Control'.
    Click Apply + Ok.
    On the remote PC(s):
    1. Make the same User as on the Host.
    1b.Logon to the account and log back out again. Delete the profile folder from 'Documents and Settings'.
    3. Give 'SYSTEM': 'Read','Read and Execute','List Folder Contents' to the 'Administrators' Profile
    4. Type 'lusrmgr.msc' into run, goto: 'Users', double click on the new user and goto the 'Profile' tab.
    4b. In the 'Profile Path' box, type \\hostPCname\ProfileName.
    Click Apply + Ok
    *Note* Replace the \\path\ accordingly to what names are on your Host PC.
    5. Goto regedit>HKLM\Software\Microsoft\Windows NT\CurrentVersion. Double click
    on 'ProfileList'.
    Find which key is for the new user. (Example S-1-5-21-58435627-18431725-18026167-1003)
    6. Right click that key and goto: 'Permissions' and give 'SYSTEM' 'read'.
    *Note* Once you logon to the roaming profile from the remote PC for the first time you can undo this step.
    7. goto GPEdit>Computer Configuration/Administrative Templates/System/User Profiles:
    Enable these settings:
    'Do not check for user ownership of roaming profile folders'
    'Delete cached copies of roaming profiles'
    'Log users off when roaming profile fails'
    "Add the Administrators security group to roaming profiles'
    'Prevent roaming profile changes from propagating to the server'
    7b. Make 'Timeout for dialog boxes' '1' (seconds)
    8. goto: Computer Configuration/Security Settings/Local Policies/Security Options:
    Make 'Number of previous logons to cache (if server is unavailable) '0'
    Now you're ready to login to the Profile on the remote PC.
    *Note* Sometimes, when windows loads it takes a minute for the profile folder to become shared again.
    Thanks for reading.

    Hi,
    I have replied to the below thread mentioning the FM's to create Profile sets, profiles and also target groups. This may be helpful to you.
    Re: target group creation
    Regards,
    Priyanka

  • SDK 3.0 memory profiler

    I can't seem to be able to save or load the SDK memory profiler data, I run the application via eclipse, on the cldcPhone1 I get connection, pause the application when ever I want, then follow the instructions on the help page of the SDK, but no Work.
    any help would be greatly appreciated, it got me stuck I have to follow up on a memory usage. the WTK memory monitor is not helpful enough since it only keeps the size of the object and not the size of its content, or something like that.

    I was able to deploy to my iphone by following the instructions here
    http://www.loonsoft.com/posts/21
    Note: it is {} and not () ${SDKROOT}/ResourceRules.plist
    I was getting the below error during codesign & I thought that the above "graying out" of the dev provisioning profile in the "Code Signing Identity" was causing it.
    "object file format invalid or unsuitable"
    Turns out it does not prevent me from deploying to my iphone after I fixed the SDKROOT. I still have the dev provisioning profile grayed out and would be interested to know how to solve this problem "cleanly" even though it doesn't seem to have any immediate downside.. fingers crossed for distribution signing.

  • Memory Profiler in Jdeveloper 10g

    Is there any tutorial/article on how to use the memory profiler in jdeveloper 10.1.3.4?

    I have the same problem. I am using ADF with JClient, locally deployed.
    And I have also noticed that after approx 5 or 6 commits (i.e. when I insert a new record, enters its values and then commits, and repeats these steps 5-6 times) the memory consumption is radically increased and finally the computer is running out of memory.
    I really hope that these problems will disappear in the production release of JDev 10g.

  • Memory Profiling OPMN changes

    When I add the -agentpath option specified in the JDeveloper document to configure the remote memory profiling in Oracle 10g Application server's opmn.xml I get following error "Unrecognized option -agentpath..." and the server does not start.
    Has anyone successfully configured the application server to perform remote profiling?

    Thank you, shgoel, you're right.
    We replaced the default JDK 1.4 with JDK 1.5 (in the directory D:\Ora10gas\as\jdk\ to be precise)
    We moved the profiler DLL to the JDK bin and used the -agentlib option instead of the -agentpath (not sure if this change was significant, though)
    To the Java start-parameters in opmn.xml we added the profiling port and a pointer to the profiler-agent.jar.
    The resulting Java start parameters where:
    -server -Xrs -Xmx512m
    -agentlib:profiler15=port=4627,jarpath=D:\jdev\lib\profiler-agent.jar,enable=m
    -Dmic.system.home=d:\mic_home
    -Dmic.j2ee.home=D:\Ora10gas\as\j2ee\OC4J_MIC\applications\mic
    With these settings we where able to connect remotely with JDevelopers memory profiler and resolve a memory leak.
    Thanks
    Niels Erik

  • Memory profile for netbeans?

    Javameisters,
    I am just now completing my first java application, so I apologize if this question is a bit elementary. The application is intended for commercial distribution, and before releasing it for this purpose I'd like to check it with a memory profiler, to be sure there are no memory leaks. I wrote it with Netbeans. It appears that this environment does not have a built-in profiler (though Eclipse apparently does, and I'll use that next time). What profiler can be recommended for use with Netbeans? I tried Optimizeit! briefly some time ago and it seemed to do what I want, but before shelling out the bucks for that I'd like to know if it is really the best choice (and if there are any free alternatives).
    I should mention its a J2SE app.
    Thanks much,
    Matthew Fleming

    For a profiler to be any good you need to have some test cases. If all you wnt is to determine if you have a memory leak, look at freeMemory() and totalMemory()          long Used = Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory(); If these are not changing significantly, you don't have a problem. If you need to know where your problem is you need a profiler. I have not seen an IDE with a bultin profiler so if you know how to use the eclipse profiler, let me know.

  • Memory profiling oc4j application on linux

    Is there any way I can use Jdeveloper's memory profiler to connect to an application running in oc4j on a remote linux server? I don't see this as being possible because it seems to require ojvm which isn't available on linux. Am I wrong? What are my alternatives? I really need to profile my memory usage on this server.

    You can install OJVM on Linux see:
    http://www.oracle.com/technology/products/jdev/htdocs/9.0.5.2/readme.html#ojvm_install_linux
    And you might also want to try installing 10.1.3 on linux and using it for profiling.

Maybe you are looking for

  • App Server 10.1.3.3.0 (i.e. patchset p614887) upgrade installer Crashes

    Hi all I have downloaded the patch p6148874 (i.e. p6148874_101330_MSwin2000.zip size is 508,944KB (497MB) ) from metalink to upgrade OAS 10.1.3.1 to 10.1.3.3.0 however, every time I start to run the installer, it crashes with the classic windows mess

  • OS X Tiger can't boot up from my HD

    I have recently installed 10.4 on my G4 and I am having start up problems, I have two internal hard drives a 20 gb that was factory installed and an 80 gb ATA that I installed myself. I previously had 10.33 running perfectly on the second drive and t

  • [Solved] history -c won't work

    i was try to clear bash history with : history -c but it won't work , actually when i close terminal and reopen it history still exist :-?? Last edited by Milad (2012-05-06 15:17:57)

  • How to compare 2 columns with data like...

    Hi, I have to compare 2 columns from 2 different tables the columns contain data like SELECT CIRCLE FROM RATE_PLAN OUTPUT (AP,NAT) (AS,NAT) (BH,NAT). SELECT CIRCLE FROM subscriber_info (AP,NAT) (AS,NAT) (BH,NAT) but when i put a join on the tables on

  • Kernel Error on Boot, wont Start up

    So i was updating the new updates for my macbook (Has Tiger, not leopard) and after the updates it restarted. Upon booting, it loaded the apple logo and that little spinner then it just went into the kernel panic mode. I tried inserting the Mac OS X