How to interpret the verbose:gc output?
I am trying to understand the garbage collection process. I am currently running the verbose :gc option useing java 1.2 on solaris 2.7. Could anyone explain what the following means?
GC[0] in 10 ms: (128Mb, 95% free) -> (128Mb, 96% free)
Also, what is GC[0] and GC[1] ?
Thanks in advance..
The GC[0] shows that a garbage collection event occurred. It took a total of 10 ms. The amount of heap used is shown before -> after. So before the GC, 128 Mb of heap was being used. After GC, 128Mb minus some small amount is being used. The % available in the heap increased from 95% to 96%. GC[1] should show the same statistics for another GC event.
Hope this helps!
Similar Messages
-
How to send the ALV GRID output to spool by using the print button in std t
How to send the ALV GRID output to spool by using the print button in standard tool bar.
We have created a button in the va02 transaction. If user click on the button the new screen will be display on that screen we are populating the alv grid output using the oops concept. But i am unable to send the output to spool using the print button in the standard tool bar.
I am able to display the Print parameter dialog box but i am not able to send it to spool.
Kindly help.
Thanks In Advance.
G.V.RamanaHi Shaik,
There is not properties button in my print screen.
MODULE user_command_0900 INPUT.
WHEN 'EXCEL'.
PERFORM excel_download.
WHEN 'PRI'.
PERFORM print_output.
form Print_output.
CALL FUNCTION 'RSPO_LIST_LAYOUT_FITS'
EXPORTING
columns = 80
device = 'ANY '
lines = 65
maxpenality = 1999
TABLES
layouts = lt_layouts1
EXCEPTIONS
unknown_device = 1
OTHERS = 2.
IF sy-subrc = 0.
LOOP AT lt_layouts1.
IF lt_layouts1-penality < 1000 AND
lt_layouts1-penality < l_min_penality.
l_layout = lt_layouts1-layout.
l_min_penality = lt_layouts1-penality.
ENDIF.
ENDLOOP.
IF NOT l_layout IS INITIAL.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
mode = 'CURRENT'
line_size = 80 "#EC *
new_list_id = l_new_list_id
no_dialog = l_no_dialog
layout = l_layout
IMPORTING
out_archive_parameters = rs_arc_params
out_parameters = rs_pri_params
valid = l_valid
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
IF sy-subrc NE 0. " INS SLIN
ENDIF. " INS SLIN
IF rs_pri_params-linsz LT 80 OR
rs_pri_params-linsz LT gt_stack-s_lprint-width.
gt_stack-print_line_break = 'X'.
ELSE.
CLEAR gt_stack-print_line_break.
ENDIF.
IF l_valid NE 'X'.
rs_pri_params = ls_pri_params_sav.
rs_arc_params = ls_arc_params_sav.
ENDIF.
ENDIF.
ENDIF.
endform. " Print_output
CALL METHOD gv_cost_tot_alv_grand->set_table_for_first_display
EXPORTING
is_layout = gs_layout_cost_tot_grand
CHANGING
it_fieldcatalog = gt_fcat_cost_tot_grand[]
it_outtab = gt_cost_tot_grand[].
Please check my code -
How to download the blocked ALV output to PDF file.
How to download the blocked ALV output to PDF file.
I am able to download the BLocked ALV output in PDF format,
but the each bolck in ALV is displaying different pages of PDF.
In my report I have 4 block in 1 page, I am able to see the output in PDF but in different page.
How to avoid the Page-break in PDF.
Thanks,
Ravi Yasoda.hi,
I believe that your have 4 containers on the screen with individual ALV display. in this case, there is no way to get combined PDF output to my knowledge.
However you can use Smartform/Sapscript as output which would allow you to display ALV in blocks and also print it in one.
Regards,
Nirmal -
How to convert the Report Builder output to .xls
Dear All,
Let me please know how to convert the Report Builder output to Excel Format.
As there are having the facility to convert the output in .PDF or .HTML format but i want to convert that into Excel Sheet......
Please Guide me in this regards
Thanks in advance
Regards,
Vishal......Hello,
If your question is about the format spreadsheet, it is not possible from Reports Builder :
http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwwhthow/whatare/output/output_a_simpleexcel.htm
Restrictions
It is not possible to generate spreadsheet output directly from Reports Builder. Instead, on the command line, you can run the report using rwrun or Reports Server clients (rwservlet, rwclient, rwcgi), with DESFORMAT=SPREADSHEET. You cannot store DESFORMAT=SPREADSHEET as a system parameter value in the report definition (.rdf file).
Regards -
How to view the purchase order output
Hi all,
how to view the purchase order output in the transaction me23n?
How to obtain the purchase order output form?
Please help..HI,
goto NACE tcode then select the purchase order type and go to output types u cna use standard one NEU and provide the sapcript name and form name default will be there with MEDRUCK and print program.
then in ME23n click on messages there create ur message type NEU and save it
then print the purchase order...
hope u get solved with this
Regards
Syed A -
How to change the input and output schema in BPEL process
hi',
Please tell me how to change the input and output schema in BPEL process after the process is made.
thanks
YatanIf your intention is just changing the content you are passing to bpel/returning from bpel
Here is another way
just update your default created xsd files with new elements, update wsdl elements in message definition and chnage bpel code to reflect new elements in activities
Regards,
Praveen -
How to view the input and output layouts created in the planning folder?
Hi all,
How to view the input and output layouts created in the planning folder in the bw 3.5?
Thanks
PoojaHi,
You can refer to this link. How to create planning folder and executing the planning folder.
http://help.sap.com/saphelp_nw04/Helpdata/EN/5d/7c4b52691011d4b2f00050dadfb23f/frameset.htm
Hope this helps -
How to do the ALV report output in groups and caluculate the tOTALS(URGENT
Hi
In my ALV report output .I have to group the output based on the DAYS field
0-10 days in one group
10-30 days in one group
above 30 days one group
There is also a field by name "AMOUNT" in my output.
I have to calculate SUBTOTALs at the end of every group and at the end of the report i should caluculate GRAND TOTAL.
Please remember that i should not use any any BLOCKED ALVs and for Totals i should not use the SYMBOLS provided in the application toolbar of the report
Thanks in AdvancePlease don't repost your questions...
Check out my answer in your other post.
How to make the ALV report in groups and caluculate the TOTALS
Regards,
Naimesh Patel -
How to control (the input and output) EXE file after I call it using exec?
Hi,
I knew that I can use runtime.exec() to call one EXE file, and this works. But this EXE has two characteristics:
1. After this exe starts, it asks user to input number such as 1 or 2 onto computer screen, then press return. Then the exe will start the calculation.
2. after it starts calculation, it prints 3 columns of numbers onto the screen.
My two questions are:
1. How to use java to input the number such as 1 or 2 automatically? this EXE can not work like this in DOS command line:
C:> file.exe parameter
The parameter is the number such as 1 or 2 that I wanna input.
2. how to redirect the 3 columns of numbers from computer screen to txt file?
My colleague can solve these two questions using Mathematica. So I know that definitely there is at least one solution for it. I just can not do it using Java. This wierd exe file bothered me a lot and I really wish that I can get help from someone in java community.
Thank you!
TonyWhen you call Runtime.exec, you get a Process object. (I presume something similar happens when you use ProcessBuilder.) Process has methods with names getOutput, getInput, and getError. These correspond to the standard input, standard output, and standard error streams of the spawned process.
You can read and write to the process on the streams corresponding to input and output that the process writes to the console.
[add]
In fact, you should be grabbing and reading the output/error streams anyway, because of the points raised by the Traps article. Google "Java Runtime exec traps" and you'll probably get a link to this JavaWorld article, which describes common Runtime.exec problems and how to solve them.
Edited by: paulcw on Jun 15, 2010 4:09 PM -
How to get the CSV,DATA output from RTF template
Hi Jorge
Thanks for your help.
as in the link you have given RTF template can have the output type CSV,DATA but in the preview i can see only html,powerpoint,pdf,html excel .
How to see the output in SCV,DATA format using my RTF template do i need to do specific design for those outputs.
Thnaks in AdvanceIt is because it has been preconfigured with such outputs.
To modify and add more output types simply go to:
1. Edit your Report
2. Click on "View a List" (upper right hand corner)
3. Click on the "output formats" (corresponding to your layout) and
4. Check (add) the additional output formats you want your report to have.
cheers
Jorge -
How to set the AppleTV to output PCM DIGITAL via toslink
how do you set the AppleTV to output PCM DIGITAL via toslink - my amp can only recieve PCM audio via toslink cable
I am having the same problem. I bought an optical-analog convertor from Amazon (SANOXY) and had Onkyo try to help me set it up. No luck. I am going to try a Monoprice version. I was able to output audio through my DirectTV box to the Zone 2 speakers, so that isn't the problem. I was able to hear the music from my iMac through the AppleTV/Onkyo receiver on the 5.1 side but was unable to output it through Zone 2 to the speakers.
Very frustrating!!!! -
How to generate the following XML-Output?
Hi all,
I would like to generate the following XML-Output without defining any types or tables:
<?xml version = '1.0'?>
<DEPARTMENTS_EMPLOYEES>
<DEPARTMENT NAME="ACCOUNTING">
<DEPTNO>10</DEPTNO>
<LOC>NEW YORK</LOC>
<EMPLOYEES_OF_DEPARTMENT>
<EMPNO>...</EMPNO>
<ENAME>...</ENAME>
</EMPLOYEES_OF_DEPARTMENT>
</DEPARTMENT>
<DEPARTMENT NAME="RESEARCH">
<DEPTNO>20</DEPTNO>
<LOC>DALLAS</LOC>
<EMPLOYEES_OF_DEPARTMENT>
</EMPLOYEES_OF_DEPARTMENT>
</DEPARTMENT>
</DEPARTMENTS_EMPLOYEES>
Unfortunately the following SQL-Statement does not working:
select xmlElement("DEPARTMENTS_EMPLOYEES",
xmlAttributes(d.deptno as "DEPTNO"),
xmlElement("DNAME", d.dname),
xmlElement("LOC", d.loc),
xmlElement("EMPLOYEES_OF_DEPARTMENT",
(select xmlAgg(xmlElement("EMPLOYEE", xmlAttributes(e.empno as "EMPNO"), xmlForest(e.ename as "ENAME", e.job as "JOB", e.hiredate as "HIREDATE", e.sal as "SAL", e.comm as "COMM", m.empno as "MGRNO", m.ename as "MGRNAME" ) )
from emp e, emp m
where e.deptno = d.deptno
and m.empno = e.mgr
) as XML
from dept d;
1. When I provide this statement with SQL*Plus
(unfortunately 9.0.1.3.0) then I get the
following output:
XML()
XMLTYPE()
XMLTYPE()
XMLTYPE()
XMLTYPE()
2. When I provide this statement with SQL Navigator
4.3.0.456 then I get the following error:
[1]: (Error): OCI-21560: argument 3 is null, invalid,
or out of range
3. When I execute the following PL/SQL-Code then I get
the XML-Error message:
DECLARE
x CLOB;
xmlstr VARCHAR2(32767);
line VARCHAR2(2000);
BEGIN
x := dbms_xmlquery.getxml('select xmlElement("DEPARTMENT",
xmlAttributes(d.deptno as "DEPTNO"),
xmlElement("DNAME", d.dname),
xmlElement("LOC", d.loc),
xmlElement("EMPLOYEELIST",
(select xmlAgg(xmlElement("EMPLOYEE",
xmlAttributes(e.empno as "EMPNO"),
xmlForest(e.ename as "ENAME",
e.job as "JOB",
e.hiredate as "HIREDATE",
e.sal as "SAL",
e.comm as "COMM",
m.empno as "MGRNO",
m.ename as "MGRNAME"
from emp e, emp m
where e.deptno = d.deptno
and m.empno = e.mgr
) as XML
from dept d');
xmlstr := dbms_lob.SUBSTR(x,32767);
LOOP
EXIT WHEN xmlstr IS NULL;
line := SUBSTR(xmlstr,1,INSTR(xmlstr,CHR(10))-1);
DBMS_OUTPUT.PUT_LINE(line);
xmlstr := SUBSTR(xmlstr,INSTR(xmlstr,CHR(10))+1);
END LOOP;
END;
<?xml version = '1.0'?>
<ERROR>oracle.xml.sql.OracleXMLSQLException: Unimplemented Feature</ERROR>
4. When I provide the following PL/SQL-Code then I get the same xml-error:
DECLARE
x CLOB;
xmlstr VARCHAR2(32767);
line VARCHAR2(2000);
BEGIN
x := dbms_xmlquery.getxml('select xmlElement("SYSDATE", xmlElement("Datum", to_char(sysdate,''DD.MM.YYYY'')),
xmlElement("Zeit", to_char(sysdate,''HH24:MI:SS''))) as XML
from dual');
xmlstr := dbms_lob.SUBSTR(x,32767);
LOOP
EXIT WHEN xmlstr IS NULL;
line := SUBSTR(xmlstr,1,INSTR(xmlstr,CHR(10))-1);
DBMS_OUTPUT.PUT_LINE(line);
xmlstr := SUBSTR(xmlstr,INSTR(xmlstr,CHR(10))+1);
END LOOP;
END;
<?xml version = '1.0'?>
<ERROR>oracle.xml.sql.OracleXMLSQLException: Unimplemented Feature</ERROR>
Can I generate the needed XML-Output from Database with SQL or PL/SQL?
Can anybody help me?
Regards
Leonid PavlovI have this done with:
DECLARE
qryCtx DBMS_XMLGEN.ctxHandle;
result CLOB;
xmlstr VARCHAR2(32767);
line VARCHAR2(2000);
BEGIN
qryCtx := dbms_xmlquery.newContext('select deptno, dname, loc, cursor(select e.empno, e.ename, e.job,
to_char(e.hiredate,''DD.MM.YYYY'') hiredate, e.sal, e.comm,
m.empno MGRNO, m.ename MGRNAME
from emp e, emp m
where e.deptno = dept.deptno
and m.empno(+) = e.mgr) emp
from dept');
dbms_xmlquery.useNullAttributeIndicator(qryCtx, FALSE);
dbms_xmlquery.setRowsetTag(qryCtx, 'DEPARTMENTS_EMPLOYEES');
dbms_xmlquery.setrowtag(qryCtx, 'DEPARTMENT');
DBMS_XMLQuery.setRowIdAttrName(qryCtx, 'ID');
DBMS_XMLQuery.setRowIdAttrValue(qryCtx, 'DEPTNO');
-- dbms_xmlquery.setrowidattrname(qryCtx, NULL);
result := dbms_xmlquery.getXML(qryCtx);
DBMS_XMLQuery.closeContext(qryCtx);
xmlstr := dbms_lob.SUBSTR(result,32767);
LOOP
EXIT WHEN xmlstr IS NULL;
line := SUBSTR(xmlstr,1,INSTR(xmlstr,CHR(10))-1);
DBMS_OUTPUT.PUT_LINE(line);
xmlstr := SUBSTR(xmlstr,INSTR(xmlstr,CHR(10))+1);
END LOOP;
END;
But how can I rename the <EMP>-Element to Employees? -
How to know the printprogram and output type for perticular standard script
how to know the print program and output type for perticular standard script and wt the proceure we will fallow to modifie the standard script..if possible u have any sample code plz share with me.....
Hi Phani,
To know the print program and output type for a standard script we have a table called TNAPR. So just you go to SE11 and provide the table name as TNAPR and choose display option.Then go with display entries option and in selection screen you have to provide the form name for whic you want to know the print program and output type.
To modify a standard script first of all you have to copy the standard form for which you need modifications into Zform. Once you done this you can modify the layout set as per your requirement.Then what ever the modifications you have done in layout set for that you need to populate the data.For this you also need to do some modifications to the print program.so you have to options like directly you can modify the print program as per your requirement and other one is you can create a subroutine and do coding in that subroutine. Then you need call this subroutine in the Script Form.like this you can do modifications to the standard script........................... Reward me if its helpful..........
Thanks & Regards.
Laxman.P
B'lore. -
How to change the Grid ALV output resolution according to screen
Hi All,
I have a requirement in which I have to adjust the Grid ALV Output Screen resolution according to user screen. I mean if the user has any type of screen (17'' , 15'', 12.1'' ), the output should be completely fit to his screen.
Helpful solution will definitely be rewared.
Amit VarlaniHi!
I doesn't depends on the screen size only the desktop resolution.
If the desktop resolution is set to 1024*768 on every computer, then it will be the same all the time.
You can set the desktop resolution in your windows (right click on desktop - properties - settings).
Regards
Tamá -
How to interpret the Xprof report ?
Hi everybody,
I'm trying to use the -Xprof option on the embeddedJRE 1.5 and I would like to understand the report :
Flat profile of 4.76 secs (269 total ticks): main
Interpreted + native Method
34.6% 4 + 89 com.tests.jvm.loading.heavy.LoadAllClasses.<init>
11.2% 0 + 30 java.util.zip.ZipFile.getEntry
8.9% 24 + 0 java.lang.ClassLoader.defineClass1
81.8% 65 + 155 Total interpreted (including elided)This part indicate the time passed to interpret the code => 81.8% of 4,76s = 3.89s
Compiled + native Method
1.5% 0 + 4 sun.misc.Resource.getBytes
0.7% 0 + 2 java.util.zip.InflaterInputStream.<init>
3.7% 3 + 7 Total compiledThis part indicate the time passed to compile the code => 3.7% of 4,76s = 0,17s
Stub + native Method
3.7% 0 + 10 java.util.zip.Inflater.inflateBytes
2.2% 6 + 0 java.lang.ClassLoader.defineClass1
10.0% 8 + 19 Total stubI don't understand this part
Thread-local ticks:
2.2% 6 Class loader
2.2% 6 CompilationI don't understand this part
Global summary of 4.77 seconds:
100.0% 283 Received ticks
4.6% 13 Received GC ticks
2.1% 6 Compilation
2.1% 6 Class loaderThis part indicate the time passed to compile the code => 2.1% of 4,77s = 0,10s
This part indicate the time passed to load the code => 2.1% of 4,77s = 0,10s
I'm right ? What's "ticks" ?
Thanks for your helpI found the explication in the book "Java Platform Performance" of Steve Wilson, Jeff Kesselman page 215 / section B.4.6
Look at GoogleBooks
ByE
Maybe you are looking for
-
Error message:500 internal service error
I am working on jsp in jdeveloper (10.1.3) on windows xp professional. I create emp.jsp and run it. i have an error message. I guess it is related with jsp:UseBean. jsp:UseBean can not call the class(database connection). would you help me? <!DOCTYPE
-
Why to use chnage pointers for master data idoc why not the change idoc
Hi Gurus, I have one doubt about Idoc. When changes to master data has to be sent Change pointers are configured and used. (CDPOS & CDHDR). In case of the transaction data change change idoc is used as is the case with orders (we use ORDCHG
-
Problem in TMS config after switch over to DR site
Hi All, We resently switch over our primary to DR. I am not able to do the transportations. I have made changes to all neccessary RFC connections and tested, working fine. If i click on Distribute and activate button it is not getting activate. Can s
-
SEM 4.0 Management cockpit buffer job - long runtime
Hello, we run SEM 4.0, and have 14 cockpits with each 4 frames. Several frames are based upon the same query, in the buffer job definition we use the CPM variables to select the subset of data from the query that is to be used. The queries themselves
-
Report Builder Group Footer Bug?
Data contained in a group footer does not print on a new page when the group footer is the only section left to fill on the current page. This is a serious problem when you embed a subreport in a group footer because the subreport also fills on the s