How to find Heap and stack space
How to find the heap sapce and stack space allocated at the moment.
My requirement, I need to test our application by changing both of these, and atfter finish testing and have to set them to old values.
You may consider reading up on how the Java stores data. There is no malloc() in java. I don't believe there is anyway within java that you can check the heap and stack size. And you can't allocate memory directly in java anyway so you wouldn't be able to change the value if you did get it. I would suggest using C or C++ to do this. Of course you can use JNI to call a C/C++ method from your java class but you will still have to first write the method in C/C++ which will make it platform specific anyway, so again I would suggest writeing this in another language which provides methods with direct access to the stack.
Similar Messages
-
How to find used and free space
Hi all,
How to find the used and free space of a particular user (schema) in a Database.
I need the sql query .
PLz urgent..
Thanks
GobiSYS@db102 SQL> select file_name, file_id, bytes
2 from dba_temp_files
3 where tablespace_name = 'TEMP';
FILE_NAME FILE_ID BYTES
/home/ora102/oradata/db102/temp01.dbf 1 52428800
SYS@db102 SQL> alter database tempfile '/home/ora102/oradata/db102/temp01.dbf'
2 resize 70M;
Database altered.
SYS@db102 SQL> select file_name, file_id, bytes
2 from dba_temp_files
3 where tablespace_name = 'TEMP';
FILE_NAME FILE_ID BYTES
/home/ora102/oradata/db102/temp01.dbf 1 73400320
SYS@db102 SQL> -
HOW to find out the tablespace space utilized by a patch after applying the
someone has already applied the patch in test env before recording the tablespace size , so I cannot find out the figure in test env.
So is there any general practice or general guidelines on it?
hOW to find out the tablespace space utilized by a patch after applying the patch?
Thanks & Regards,
Sree.
Edited by: 846579 on Mar 22, 2011 10:50 PMI think there is no direct way to determine what tablespace is utilized by a patch from the README file. You could check the content of the patch file and see what modules are affected (assuming there are changes and the database level), then query DBA_USERS (DEFAULT_TABLESPACE column) for those schemas which are updated by a patch. Or, you could check the size of the tablespaces before and after applying the patch and you will determine what tablespaces have been utilized (provided that the application services are down, and none of the application users is connected to the application).
Thanks,
Hussein -
Something was hidden in a download and now these double green underlined hyperlinks show up everywhere, and pop ups too whenever I click on ANYTHING. I can't figure out how to find it and get rid of it.
You installed the "DownLite" trojan, perhaps under a different name. Remove it as follows.
Malware is constantly changing to get around the defenses against it. The instructions in this comment are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
Back up all data.
Triple-click anywhere in the line below on this page to select it:
/Library/LaunchAgents/com.vsearch.agent.plist
Right-click or control-click the line and select
Services ▹ Reveal in Finder (or just Reveal)
from the contextual menu.* A folder should open with an item named "VSearch" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
Repeat with each of these lines:
/Library/LaunchDaemons/com.vsearch.daemon.plist
/Library/LaunchDaemons/com.vsearch.helper.plist
/Library/LaunchDaemons/Jack.plist
Restart the computer and empty the Trash. Then delete the following items in the same way:
/Library/Application Support/VSearch
/Library/PrivilegedHelperTools/Jack
/System/Library/Frameworks/VSearch.framework
Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
From the Safari menu bar, select
Safari ▹ Preferences... ▹ Extensions
Uninstall any extensions you don't know you need, including any that have the word "Spigot" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
This trojan is distributed on illegal websites that traffic in pirated movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect much worse to happen in the future.
You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the DownLite developer has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing, has not done so, even though it's aware of the problem. This failure of oversight is inexcusable and has compromised the value of Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
*If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
Go ▹ Go to Folder...
from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return. -
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. -
Hello I wonder if anyone knows how to find, download and install a suitable IPA (phonetics) font for the MacBook Air? I need to be able to use a pop up window of fonts.
Unless you've done anything to change it, Google keeps every email that ever passes through their server in your All Mail folder/mailbox/label. Even if you delete stuff, they hold onto it, there. You have to go out of your way to actually delete anything permanently.
-
I rented four movies on my mac and then transfered them to my iPad, i then did an update to my iPad, now the rentals are not on my ipad nor my mac. I did not watch them and I was charged for them. How do find them and transfer back on my iPad
If you moved them to your iPad then they will have been removed from your Mac. If they are no longer in the iPad's Videos app following the update then you will need to try contacting iTunes support and see if they will let you re-download them : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page
-
How to find list and cost price in MM module
Hi
Can any one help me in how to find List and cost price in MM module for pricing.
thank you.
Davidhi Saquib Khan
Many thanks Saquib Khan for ur reply. Actually iam trying to create a report which displays material number, material description, plant, product hierarchy, cost and list price, based on the selection criteria of a range of materials, plant and also product hierarchy.
If u want to share any information.It would be much better for me.Like iam learning SAP.
thanks. -
HOW TO FIND WF_ITEM_TYPE AND WF_ITEM_KEY FOR PO
제품 : MFG_PO
작성날짜 : 2003-05-14
HOW TO FIND WF_ITEM_TYPE AND WF_ITEM_KEY FOR PO
===============================================
PURPOSE
This solution is for Oracle Purchasing 11 and higher
Explanation
1. Start a SQL*Plus session using the APPS schema.
2. Run the following script and enter the Purchase Order number that is stuck
in process when prompted for the PO_NUMBER:
SELECT WF_ITEM_TYPE, SUBSTR(WF_ITEM_KEY,1,25) "WF_ITEM_KEY"
FROM PO_HEADERS_ALL
WHERE AUTHORIZATION_STATUS='IN PROCESS'
AND SEGMENT1='&PO_NUMBER';
3. If more than one row is returned, then run the following script and only
refer to the row that contains the OPERATING_UNIT_NAME that equals the
operating unit name tied to the responsibility used when the Purchase Order was
discovered as being stuck in process.
SELECT SUBSTR(WF_ITEM_TYPE,1,12) "WF_ITEM_TYPE",
SUBSTR(WF_ITEM_KEY,1,15) "WF_ITEM_KEY",
SUBSTR(NAME,1,35) "OPERATING_UNIT_NAME"
FROM PO_HEADERS_ALL PA, HR_ORGANIZATION_UNITS OU
WHERE PA.ORG_ID=OU.ORGANIZATION_ID
AND AUTHORIZATION_STATUS='IN PROCESS'
AND SEGMENT1='&PO_NUMBER';
Example
Reference Documents
-------------------Hi Kishore,
Welcome to SCN!
to find the sales order from Purchase order , go to SE16, Enter the table name as VBAK and press Enter.
In BSTNK field of VBAK, Enter the Purchase order number. System will return you corresponding sales order.
Hope this will help you.
Regards,
Nikhil -
How to find files and subdirectories in a directory
can anyone tell me how to find files and subdirectories in a directory .
Here's a code snippet,
http://javaalmanac.com/egs/java.io/TraverseTree.html -
so someone took my ipod 4g and who ever took it turned it off and i dont know how to find it and i really want it back, what should i do?
lost/stolen
No app on the iPod is required.
- If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected, on a computer browser go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone. If the iPod has been restored it will never show up.
- You can also wipe/erase the iPod and have the iPod play a sound via iCloud.
- If not shown, then you will have to use the old fashioned way, like if you lost a wallet or purse.
- Change the passwords for all accounts used on the iPod and report to police
- There is no way to prevent someone from restoring the iPod (it erases it) using it unless you had iOS 7 on the device. With iOS 7, one has to enter the Apple ID and password to restore the device.
- Apple will do nothing without a court order
Reporting a lost or stolen Apple product
- iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number -
How to find date and time on iphone's photo taken?
in iPhoto no matter the source of the photo you see the information about th ephoto by selecting the photo and showing info (the get info button may be in a different location depending on the version of iPhoto you have)
If you are not aking an iPhoto question but are asking an iPhone question instead then repost in the iPhone forum - iPhoto has no association with the iPhone
LN -
How to Find fields and tables of any Datasource
Hi ,
How to find tables and fields for DataSource 2LIS_05_QE1 , and extractstruct is MC05Q1_0INSP as per requirement to find INCOMING PPM.
is there any specific technique , to find any tables and fields related to our requirement in any DataSource .
thank'sCheck in LBWE transaction ..
for
2LIS_05_QE1 , and extractstruct is MC05Q1_0INSP as per requirement to find INCOMING PPM.
go to quality management ..
you will get the data source
if you click on maintenance ..
BR
Manthan -
How to find CPU and Memory Utilization
Hi,
How to find CPU and Memory Utilization of my application which is
running in solaris workstation.My application has a management console in which we need to update the cpu and memory periodically.
(Notr : Usage of JNI is restrcited)
Thnx and Rgds,
MohanThere is no CPU usage API in Java. You need some JNI code. For memory usage see the Runtime methods:
* Get information of memory usage: max, total, free and (available/used).
* <ul>
* <li>Max is the maximum amount of bytes the application can allocate (see also java options -Xmx). This value is fixed.
* If the application tries to allocate more memory than Max, an OutOfMemoryError is thrown.
* <li>Total is the amount of bytes currently allocated from the JVM for the application.
* This value just increases (and doesn't decrease) up to the value of Max depending on the applications memory
* requirements.
* <li>Free is the amount of memory that once was occupied by the application but is given back to the JVM. This value
* varies between 0 and Total.
* <li>The used amount of memory is the memory currently allocated by the application. This value is always less or equal
* to Total.
* <li>The available amount of memory is the maximum number of bytes that can be allocated by the application (Max - used).
* </ul>
* In brief: used <= total <= max
* <p>
* The JVM can allocate up to 64MB (be default) system memory for the application. If more is required, the JVM has to be started with the Xmx option
* (e.g. "java -Xmx128m" for 128 MB). The amount of currently allocated system memory is Total. As the JVM can't give back unallocated memory
* to the operating system, Total can just increase (up to Max).
* @return Memory info.
static public String getMemoryInfo() {
StringBuilder sb = new StringBuilder();
sb.append("Used: ");
sb.append(toMemoryFormat(getUsedMemory()));
sb.append(", Available: ");
sb.append(toMemoryFormat(getAvailableMemory()));
sb.append(" (Max: ");
sb.append(toMemoryFormat(Runtime.getRuntime().maxMemory()));
sb.append(", Total: ");
sb.append(toMemoryFormat(Runtime.getRuntime().totalMemory()));
sb.append(", Free: ");
sb.append(toMemoryFormat(Runtime.getRuntime().freeMemory()));
sb.append(")");
return sb.toString();
}//getMemoryInfo() -
How to find material and vendor combination which has freight conditions?
Hi Please help me, its very urgent.
How to find material and vendor combination which has freight conditions?
Waiting for your help.
Regards,
Marella.Hi marella,
Try MEKA transaction.
Gopi
Maybe you are looking for
-
Getting error in Import Items Program
Hi I'm running the import items program to assign new organization to the item in inventory. For that i am using CREATE transaction type to create a new record with new organization. When i run the Import items program, it is throwing some error when
-
My Videos are flipping as I stroll up and down the page
Hello! FireFox... I would like to know if someone can please help me solve this problem. I'm experiencing this problem only on blogger and Word-press with my videos flipping when I scroll up and down the page. This don't occur when I use yahoo videos
-
Derived Logical Column throws an error
Hello I get the 46036 error from Answers when I add a field that I created in the BMM of the RPD. We are on OBIEE 10.3.4.2. I added a logical column to a table and applied a filter for a particular age band. I can check the change in without any erro
-
Now the apple apears on the screen and after 1 minute i'ts gone and the wait or reboot circle appears and this in a loop.
-
We are preparing update of app for Google Play and during testing of new version (just downloaded as APK from ftp to device) we've encountered this error. In short it means, that we can't buy new issues, nor download previously bought one. I'm not ab