How to find native memory usage for a domain
Hi All,
We want to know how to find out current native momory utilization for a perticular weblogic domain. Basically we want to increase our current JVM heap size from 2 GB to 3.5GB because of 32 bit JDK restriction we are not having confident to increase at the memont. If we can get the current native memory utization then we will have a idea how to pregess and change in production env.
OS - Solaris 10
Weblogic - 9.2
Java - 1.5
Thanks and Regards
Dinabandhu
920767 wrote:
Basically we want to increase our current JVM heap size from 2 GB to 3.5GB because of 32 bit JDK restriction we are not having confident to increase at the memontSurprisingly enough to me that will not work. The maximum on solaris is 2G presuming you are running on a 32 OS.
http://www.oracle.com/technetwork/java/hotspotfaq-138619.html#gc_heap_32bit
We want to know how to find out current native momory utilization for a perticular weblogic domainMemory is per process. Weblogic, the server, is one process (one VM.) Thus you can't increase the application memory for only part of it. I doubt weblogic has a way to limit it by app.
Similar Messages
-
How to specify maximum memory usage for Java VM in Tomcat?
Does any one know how to setup memory usage for Java VM, such as "-Xmx256m" parameter, in Tomcat?
I'm using Tomcat 3.x in Apache web server on Sun Solaris platform. I already tried to add the following line into tomcat.properties, like:
wrapper.bin.parameters=-Xmx512m
However, it seems to me that this doesn't work. So, how about if my servlet will consume a large amount of memory that exceeds the default 64M memory boundary of Java VM?
Any idea will be appreciated.
HaohuaWith some help we found the fix. You have to set the -Xms and -Xmx at installation time when you install Tomcat 4.x as a service. Services do not read system variables. Go to the command prompt in windows, and in the directory where tomcat.exe resides, type "tomcat.exe /?". You will see jvm_options as part of the installation. Put the -Xms and -Xmx variables in the proper place during the install and it will work.
If you can't uninstall and reinstall, you can apply this registry hack that dfortae sent to me on another thread.
=-=-=-=-=-=
You can change the parameters in the Windows registry. If your service name is "Apache Tomcat" The location is:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache Tomcat\Parameters
Change the JVM Option Count value to the new value with the number of parameters it will now have. In my case, I added two parameters -Xms100m and -Xmx256m and it was 3 before so I bumped it to 5.
Then I created two more String values. I called the first one I added 'JVM Option Number 4' and the second 'JVM Option Number 5'. Then I set the value inside each. The first one I set to '-Xms100m' and the second I set to '-Xmx256m'. Then I restarted Tomcat and observed when I did big processing the memory limit was now 256 MB, so it worked. Hope this helps!
=-=-=-=-=
I tried this and it worked. I did not want to have to go through the whole reinstallation process, so this was best for me.
Thanks to all who helped on this. -
How to find out memory consumption for table in HANA without load it into memory
Hi,
To determine the memory consumption for a table in HANA, you can query table M_CS_TABLES, however, it requires load table into memory first, I just wonder if there has another table store memory consumption information for all HANA tables regardless it load into memory or not. Below is screenshot for one of table in my system, since that table is partially loaded into memory, "Total Memory Consumption (KB):" tell me the memory consumption of the portion load into memory, what I am looking for is something like "Estimated Maximun Memory Consumption (KB)" which provides me total memory consumption for that table including portion doesn't load into memory, of course I can use this Esitmated information, but consider I have close to thousand tables in my HANA system already, it's not pratical to check tables one by one.
Thanks,
Xiaogang.Hi Xiaogang,
Estimated Memory Size that you see in the Table Run time Information - same is available in M_CS_TABLES also
If you don't get the size of any Table in M_CS_TABLES View, then the same will also not be available in Runtime information of the Table
Even if tables are not loaded into memory, you can get the Estimated Size, just try running the query with filter LOADED = 'NO'
Regards,
Vivek -
Where do i find the memory usage for my macbook?
i got into it once but dont remember how to get into it again, i want that one screen where it shows you how much memory the application is taking up, where do i find it? thanks
When i click on Activity Monitor it bounces as it should then stops without doing anything. Anyone had this before?
I'm trying to find out how to see where my GB's are being taken up! I have a 100GB (93GB free) HD and it's not adding up cos it's saying i've only got 13 GB left but i cant have 80GB of stuff on it - no way hoseay!!!
Help.... -
To find the Memory statistics for past 30 days
Hi gurus,
how to find the memory statistics for the past 30 days , i have tried with the options ST06 and ST02 but i cant able to have the data for 30 days.
can any one help me out in this reply with solutions rewarded!
regards,
S.RajeshkumarHi Rajesh,
what do you call system statistics ?
There are many many statistics in SAP that can be called "system".
I already gave you the way to look at 3 of them.
For your information, and it may not please you but it is rude to tell that the problem is urgent for you.
Guess what : it is not at all urgent for ME as I know how to look at every statistics I would need.
If your problem is really urgent, don't ask it on volontary answered forums but open a message with SAP support. As you pay for SAP support, you are in a position to tell SAP that your problem is urgent, not with me...
I choose to answer to questions that
I find interesting.
I know something about.
In that case, I'm very happy to help but I really really don't care about points.
These points can't be eaten or sold and I already own enough t-shirts !
Good luck !
Olivier -
How to find out CPU and memory usage for an instance?
Hi DBA Gurus,
How to find out CPU usage and memory usage for an instance?
Any information is appreciated!
Thank you!
Robertyou can calculate cpu usage by adding fallowing three factors which you can get from v$sysstat
1. Parse CPU time : This represents the percentage of CPU time spent parsing SQL statements. Parse time CPU can be a strong indication that an application has not been well tuned. High parse time CPU usually indicates that the application may be spending too much time opening and closing cursors or is not using bind variables.
2. Recursive CPU time : Sometimes, to execute a SQL statement issued by a user, the Oracle Server must issue additional statements. Such statements are called recursive calls or recursive SQL statements. For example, if you insert a row into a table that does not have enough space to hold that row, the Oracle Server makes recursive calls to allocate the space dynamically if dictionary managed tablespaces are being used.
Recursive calls are also generated due to the inavailability of dictionary info in the dictionary cache, firing of database triggers, execution of DDL, execution of SQL within PL/SQL blocks, functions or stored procedures and enforcement of referential integrity constraints
3. Other CPU time : This represents the percentage of time spent looking for buffers, fetching rows or index keys, etc. Generally, \"Other\" CPU should represent the highest percentage of CPU time out of the total CPU time used.
total memory used you can calculate adding
total_agrigate_area+sga
memory usage on os level you can know by fallowing commands
vmstat 5 20 depending upon os -
How to capture memory usage for web application
In OATS openscripts, how to capture memory usage for web application? Does it have the exisitng java method that we can call to get the memory data (e.g. peak bytes, private bytes) consumed by web application?
JProbe
-
JRockit out of native memory errors - what effects native memory usage
I've seen postings which suggest a way to combat out of native memory errors is to reduce the heap size. That is fine but if you have some parts of your application which run fine and others that run the system out of native memory almost immediately then you may have a code problem. So the question is what, if anything, in the java code affects the JVM's usage of native memory?
There are lots of things that affect the native memory usage. For example: the number of classes, the size of the classes, the complexity of the type hieararchy, the number of threads, the amount of code generated, the complexity of the methods and so on.
It may also be an error in the JVM that either leaks memory or temporarily uses too much memory (for example while generating code for a java method).
Not sure this was very helpful...
/Staffan -
Find the tablespace usage for the last 6 months time.
I have an Oracle 9i database. Now, there is a requirement to find the tablespace usage for the last 6 months.
Can anyone please tell me, how can I achieve this? I do not have EM configured. So please lemme know if there is any script that can give these details?
Thanks.878226 wrote:
I have an Oracle 9i database. Now, there is a requirement to find the tablespace usage for the last 6 months.
Can anyone please tell me, how can I achieve this? I do not have EM configured. So please lemme know if there is any s?cript that can give these details?
Thanks.refer the link:- http://www.dba-oracle.com/t_v_datafile_database_size.htm
note: i did not check the query and version. please check whether it is applicable to 9i database or not?
10g and above refer:http://maxwellmiranda.wordpress.com/2011/03/22/segmenttablespace-growth-details-script/
Edited by: rajeysh on Aug 28, 2011 12:14 PM -
How to find a memory and CPU used by a specific concurrent program ?
Dear All ,
How to find a memory and CPU used by a specific concurrent program ?
Thanks.Hi,
How to find a memory and CPU used by a specific concurrent program ?
Could you please let us can we get the
memory used for a specific concurrent request .
Please refer scripts available at:
Concurrent Manager and program related scripts
Queries : Concurrent Managers/Processes
Thanks &
Best Regards, -
How to find next number range for project definition in tcode CJ20N
Hai Experts,
Please help me 'How to find next number range for project definition in tcode "CJ20N". I was trying in function module NUMBER_GET_NEXT. Is it right function module? If its right what input i need to give for this tcode and for the field project definition?
Note: I searched in forum before posting, but couldn't find the solution.
Thanks
Regards,
Prabu S.Hi,
For project defination internal number is assigned by system.
When you saves's project then system allocate one number to project defination, you can view it,
SE11 >>> table PROJ >> Click on contents >>> execute,
here you will get your project defination & number is assigned to project defination.
kapil -
How to find classtype and class for a material.
Hi,
How to find classtype and class for a material.
which table contains this data.
Thanks
KiranHi Kiran,
Check below sample code. Use this BAPI which will give all info about the class for the material.
DATA: l_objectkey_imp TYPE bapi1003_key-object
VALUE IS INITIAL.
CONSTANTS: lc_objecttable_imp TYPE bapi1003_key-objecttable
VALUE 'MARA',
lc_classtype_imp TYPE bapi1003_key-classtype
VALUE '001',
lc_freight_class TYPE bapi1003_alloc_list-classnum
VALUE 'FREIGHT_CLASS',
lc_e TYPE bapiret2-type VALUE 'E',
lc_p(1) TYPE c VALUE 'P',
lc_m(1) TYPE c VALUE 'M'.
SORT i_deliverydata BY vbeln posnr matnr.
CLEAR wa_deliverydata.
LOOP AT i_deliverydata INTO wa_deliverydata.
REFRESH: i_alloclist[],
i_return[].
CLEAR: l_objectkey_imp.
l_objectkey_imp = wa_deliverydata-matnr.
*Get classes and characteristics
CALL FUNCTION 'BAPI_OBJCL_GETCLASSES'
EXPORTING
objectkey_imp = l_objectkey_imp
objecttable_imp = lc_objecttable_imp
classtype_imp = lc_classtype_imp
* READ_VALUATIONS =
keydate = sy-datum
language = sy-langu
TABLES
alloclist = i_alloclist
* ALLOCVALUESCHAR =
* ALLOCVALUESCURR =
* ALLOCVALUESNUM =
return = i_return
Thanks,
Vinod. -
How to find out the Tcodes for the exits
Hi All,
how to find out the Tcodes for the exits. i have a list of exits (customer, user, badi ). i need to find out what are the Tcode affected by this exits.
Customer Exits: EXIT_RFEBBU10_001
EXIT_RFEKA400_001
EXIT_RFFOEXIT_100
User-Exits: USEREXIT_DELETE_DOCUMENT
USEREXIT_FIELD_MODIFICATION
USEREXIT_MOVE_FIELD_TO_VBAK
USEREXIT_PRICING_PREPARE_TKOMP
BADI: CUSTOMER_ADD_DATA_CS
HISTORICAL_VALUES
MD_ADD_ELEMENTS
MD_CHANGE_MRP_DATA
MD_PIR_FLEX_CONS
MD_PLDORD_POST
ME_REQ_POSTED
NOTIF_EVENT_SAVE
Can anyone help on this <urgency factor removed>.
Regards
Ksihore
Edited by: Suhas Saha on Feb 20, 2012 12:58 PMi have just started reading about all these-user exits ,customer exits etc.
i have read somewhere that:call to customer exits are triggered by function modules exits.
the structure of function modules are like this:
EXIT_RFEBBU10_001
MEANS
Keyword EXIT followed by program name fllowed by three digits.
and the call is like this:
call customer function 0001.
From above we can conclude that this customer exit must be used in program RFEBBU10.
GOTO SE38 andenter prog name RFEBBU10.check for above function module.
for the rest i stick to the same method for user exits and BADI that we can findthe corresponding TCODES
using Where used lists.
please Tell me if i m wrong! -
How to find the user exit for a screen..
Hi,
plz help me how to find the user exit for a screen..?
Regards
AnbuHi,
check this program this will give you the list of user-exit and BADI for the perticular Tcode.
REPORT zuserexit_badi.
TABLES : tstc,
tadir,
modsapt,
modact,
trdir,
tfdir,
enlfdir,
sxs_attrt ,
tstct.
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
PARAMETERS : p_tcode LIKE tstc-tcode,
p_pgmna LIKE tstc-pgmna .
DATA wa_tadir TYPE tadir.
START-OF-SELECTION.
IF NOT p_tcode IS INITIAL.
SELECT SINGLE * FROM tstc WHERE tcode EQ p_tcode.
ELSEIF NOT p_pgmna IS INITIAL.
tstc-pgmna = p_pgmna.
ENDIF.
IF sy-subrc EQ 0.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
SELECT SINGLE * FROM trdir
WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir
WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir
WHERE funcname = tfdir-funcname.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name EQ enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
SELECT * FROM tadir INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object IN ('SMOD', 'SXSD')
AND devclass = v_devclass.
SELECT SINGLE * FROM tstct
WHERE sprsl EQ sy-langu
AND tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(105) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
Sorting the internal Table
SORT jtab BY object.
DATA : wf_txt(60) TYPE c,
wf_smod TYPE i ,
wf_badi TYPE i ,
wf_object2(30) TYPE c.
CLEAR : wf_smod, wf_badi , wf_object2.
Get the total SMOD.
LOOP AT jtab INTO wa_tadir.
AT FIRST.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Enhancement/ Business Add-in',
41 sy-vline ,
42 'Description',
105 sy-vline.
WRITE:/(105) sy-uline.
ENDAT.
CLEAR wf_txt.
AT NEW object.
IF wa_tadir-object = 'SMOD'.
wf_object2 = 'Enhancement' .
ELSEIF wa_tadir-object = 'SXSD'.
wf_object2 = ' Business Add-in'.
ENDIF.
FORMAT COLOR COL_GROUP INTENSIFIED ON.
WRITE:/1 sy-vline,
2 wf_object2,
105 sy-vline.
ENDAT.
CASE wa_tadir-object.
WHEN 'SMOD'.
wf_smod = wf_smod + 1.
SELECT SINGLE modtext INTO wf_txt
FROM modsapt
WHERE sprsl = sy-langu
AND name = wa_tadir-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WHEN 'SXSD'.
For BADis
wf_badi = wf_badi + 1 .
SELECT SINGLE text INTO wf_txt
FROM sxs_attrt
WHERE sprsl = sy-langu
AND exit_name = wa_tadir-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED ON.
ENDCASE.
WRITE:/1 sy-vline,
2 wa_tadir-obj_name HOTSPOT ON,
41 sy-vline ,
42 wf_txt,
105 sy-vline.
AT END OF object.
WRITE : /(105) sy-uline.
ENDAT.
ENDLOOP.
WRITE:/(105) sy-uline.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No.of Exits:' , wf_smod.
WRITE:/ 'No.of BADis:' , wf_badi.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'No userexits or BADis exist'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'Transaction does not exist'.
ENDIF.
AT LINE-SELECTION.
DATA : wf_object TYPE tadir-object.
CLEAR wf_object.
GET CURSOR FIELD field1.
CHECK field1(8) EQ 'WA_TADIR'.
READ TABLE jtab WITH KEY obj_name = sy-lisel+1(20).
MOVE jtab-object TO wf_object.
CASE wf_object.
WHEN 'SMOD'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
WHEN 'SXSD'.
SET PARAMETER ID 'EXN' FIELD sy-lisel+1(20).
CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
ENDCASE.
Reagards,
Bharat. -
How to find out the description for the given field?
Hi All,
How to find out the description for the given field?
I mean ETTYP Desription is VTEXT. This we can find in TVEPT Table. So, How canwe find this?
Thanks in Advance
Sri...Hi Avi,
If i want to disply the fields like AUART and 'Description of AUART',
Suppose based on my query i will take AUART from T184 table. And the description of AUART is available in TVAKT table.
my question is if i have given T184-AUART and how do u find out AUART Description ?(How do u know which table is having Description of AUART)?
Thanks in Advance
Sri...
Maybe you are looking for
-
Check NULL or BLANK values in Oracle Table
Hi All, I have a column which does not have have any value ( Datatype is Char for that column). I need query which gets update all the records for which the particular column does not have any value.. UPDATE table name SET COL1='ABC' WHERE ITEM LIKE(
-
OSX 10.2 Server serial number?
Hi All, I hope there is an obvious answer for this. I bought four G4 xServers from a Japanese company that closed it's USA operations. When I booted them up I found they still contained data and user accounts in Japan. I received the complete pack of
-
Use of PS-Module: Cost object discussion
Hello, i have a question regarding the use of PS-Module. I would like to know if in your company you experienced any problem (in controlling or somewhere else) when posting to a variety of different cost objects. For example: wbs-element, sales order
-
Hi All, I have created a role called R1. Now when i navigate from initial screen, in the intial screen there are different links say link1, link 2 ..etc. When i click on link 1, then i shud able to see Role R1 in the same screen. Is it possible. Rega
-
After applying the updates (iTunes(6.02) & OS X (10.4.4)) the volume on my iMac seems to be a lot lower than it was before. I now have to turn the volume up more than half way to get the same output I used to get when the volume was only turned up a