How to limit the maximum memory used by the JVM
Dears
we enabled sybase webservice and started it , and now find the process is running much memory,
how could I limit the maximum memory used by the JVM ?
aidcd02:/> prstat -p 8164 -p 17768
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
8164 sybase 1079M 848M sleep 59 0 0:10:44 0.0% java/30
aidcd02:/> pargs 8164
8164: /sybase/shared/JRE-6_0_24/bin/java -Dsybase.home=/sybase -Docs.home=OCS-15_0 -D
argv[0]: /sybase/shared/JRE-6_0_24/bin/java
argv[1]: -Dsybase.home=/sybase
argv[2]: -Docs.home=OCS-15_0
argv[3]: -Dcom.sybase.ase.ws.libtcl=
argv[4]: -classpath
argv[5]: /sybase/WS-15_0/lib/axis.jar:/sybase/WS-15_0/lib/jaxrpc.jar:/sybase/WS-15_0/lib/saaj.jar:/sybase/WS-15_0/lib/commons-logging-1.0.4.jar:/sybase/WS-15_0/lib/commons-discovery-0.2.jar:/sybase/WS-15_0/lib/log4j-1.2.4.jar:/sybase/WS-15_0/lib/wsdl4j-1.5.1.jar:/sybase/jConnect-6_0/classes/jconn3.jar:/sybase/jConnect-6_0/classes/jTDS3.jar:/sybase/WS-15_0/lib/xercesImpl.jar:/sybase/WS-15_0/lib/xmlParserAPIs.jar:/sybase/WS-15_0/lib/server.jar:/sybase/WS-15_0/lib/sqlx.jar:/sybase/WS-15_0/lib/flexlm.jar:/sybase/WS-15_0/lib/servlet-api-2.5-20081211.jar:/sybase/WS-15_0/lib/jetty-6.1.22.jar:/sybase/WS-15_0/lib/jetty-sslengine-6.1.22.jar:/sybase/WS-15_0/lib/jetty-util-6.1.22.jar:/sybase/WS-15_0/lib/tools.jar:/sybase/WS-15_0/lib/jcert.jar:/sybase/WS-15_0/lib/jnet.jar:/sybase/WS-15_0/lib/jsse.jar:/sybase/WS-15_0/lib/jce1_2_2.jar:/sybase/WS-15_0/lib/sunjce_provider.jar:/sybase/WS-15_0/lib/ws.jar:/sybase/shared/lib/dsparser.jar:/sybase/WS-15_0/props:/sybase/WS-15_0/producer/WEB-INF
thanks.
You can limit the maximum memory used via command line options to the VM.
Noting of course that typically if you are in fact actually using that memory that reducing it is going to have some negative impact on your application including catastrophic failure.
Conversely if the application is not in fact actively using that memory then limiting it just because some tool reports that the OS has reserved it then limiting it is pointless.
Similar Messages
-
What is the maximum memory capability of the HP Pavilion 15-p210na laptop?
What is the maximum memory capability of the HP Pavilion 15-p210na laptop?
Many thanks.
/whinge
...and why don't HP publish this information somewhere easily found?
Do they want to make it harder for people to decide to purchase their product?
/endwhingeR_Lange wrote:
What is the maximum memory capability of the HP Pavilion 15-p210na laptop?
Many thanks.
/whinge
...and why don't HP publish this information somewhere easily found?
Do they want to make it harder for people to decide to purchase their product?
/endwhinge
Hi,
I guess that 8 or max 12GB. It depends how many slots. It should support 12GB with 2 memory slots but only 8GB with a single one. The CPU itself supports up to 16GB.
Dv6-7000 /Full HD/Core i5-3360M/GF 650M/Corsair 8GB/Intel 7260AC/Samsung Pro 256GB
Testing - HP 15-p000
HP Touchpad provided by HP
Currently on Debian Wheeze
*Please, help other users with the same issue by marking your solved topics as "Accept as Solution"* -
I just bought a MacBook Pro, and need to d/l my photos from my memory card reader. iphoto keeps coming up as the app to use, but the column on the left says "No name, and shows 0 photos on the black screen. How do I view the photos on the reader?
Did it... When I clicked on "No name", a file folder came up and, I forgot to put MacBook Pro in the name bar... That was it! Maybe someone else can use this post Hopefully...
-
What's the maximum memory ram for Macbook Pro?
Hello,
May I know what's the maximum memory ram capacity for Macbook Pro?
I am having Macbook Pro - 2.53GHz Intel Core 2 Duo
Thank you!
AlvinHate to resurrect a dead horse but....I was looking in the instructions for memory upgrades and the instructions specified that the computer will only recognize 3 gigs. Will that still be in effect if I upgrade to Snow Leopard when it becomes available? Or do I need to save my pennies for a Mac Pro? What I am getting at is: is the reason for the RAM cap due to software issues, 64 bit not being native, different version of leopard used on notebooks, or is it due to hardware issues.
-
Can off JVM heap Memory used in the Near-Cache front-tier
I had tried to config a near-Cache used nio-manager(off JVM heap) in the Front-tier.
<near-scheme>
<scheme-name>CohApp-near</scheme-name>
<front-scheme>
<external-scheme>
</external-scheme>
</front-scheme>
<back-scheme>
<distributed-scheme>
<scheme-ref>CohApp-distributed</scheme-ref>
</distributed-scheme>
</back-scheme>
<invalidation-strategy>auto</invalidation-strategy>
<autostart>true</autostart>
</near-scheme>
when start 'com.tangosol.net.DefaultCacheServer' for this config, error as:
Oracle Coherence Version 3.7.1.0 Build 27797
Enterprise Edition: Development mode
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
2014-03-30 16:34:17.518/1.201 Oracle Coherence EE 3.7.1.0 <Error> (thread=main,
member=n/a): Error org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invali
d content was found starting with element 'external-scheme'. One of '{"http://xm
lns.oracle.com/coherence/coherence-cache-config":local-scheme, "http://xmlns.ora
cle.com/coherence/coherence-cache-config":class-scheme}' is expected. - line 92
Exception in thread "main" (Wrapped: Failed to load the factory) (Wrapped: Missi
ng or inaccessible constructor "com.tangosol.net.DefaultConfigurableCacheFactory
(String)"
<configurable-cache-factory-config>
<class-name>com.tangosol.net.DefaultConfigurableCacheFactory</class-name>
<init-params>
<init-param>
<param-type>java.lang.String</param-type>
<param-value>coherence-cache-config.xml</param-value>
</init-param>
</init-params>
</configurable-cache-factory-config>) java.lang.reflect.InvocationTargetExceptio
n
at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)
at com.tangosol.net.ScopedCacheFactoryBuilder.getDefaultFactory(ScopedCa
cheFactoryBuilder.java:311)
at com.tangosol.net.DefaultCacheFactoryBuilder.getSingletonFactory(Defau
ltCacheFactoryBuilder.java:48)
at com.tangosol.net.DefaultCacheFactoryBuilder.getFactory(DefaultCacheFa
ctoryBuilder.java:121)
at com.tangosol.net.ScopedCacheFactoryBuilder.getConfigurableCacheFactor
y(ScopedCacheFactoryBuilder.java:112)
at com.tangosol.net.CacheFactory.getConfigurableCacheFactory(CacheFactor
y.java:126)
at com.tangosol.net.DefaultCacheServer.getDefaultConfigurableCacheFactor
y(DefaultCacheServer.java:364)
at com.tangosol.net.DefaultCacheServer.main(DefaultCacheServer.java:197)
Caused by: (Wrapped: Missing or inaccessible constructor "com.tangosol.net.Defau
ltConfigurableCacheFactory(String)"
<configurable-cache-factory-config>
<class-name>com.tangosol.net.DefaultConfigurableCacheFactory</class-name>
<init-params>
<init-param>
<param-type>java.lang.String</param-type>
<param-value>coherence-cache-config.xml</param-value>
</init-param>
</init-params>
</configurable-cache-factory-config>) java.lang.reflect.InvocationTargetExceptio
n
at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)
at com.tangosol.run.xml.XmlHelper.createInstance(XmlHelper.java:2652)
at com.tangosol.run.xml.XmlHelper.createInstance(XmlHelper.java:2536)
at com.tangosol.net.ScopedCacheFactoryBuilder.getDefaultFactory(ScopedCa
cheFactoryBuilder.java:273)
... 6 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.tangosol.util.ClassHelper.newInstance(ClassHelper.java:694)
at com.tangosol.run.xml.XmlHelper.createInstance(XmlHelper.java:2611)
... 8 more
Caused by: (Wrapped: Failed to load cache configuration: coherence-cache-config.
xml) (Wrapped) java.io.IOException: Exception occurred during schema validation:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'externa
l-scheme'. One of '{"http://xmlns.oracle.com/coherence/coherence-cache-config":l
ocal-scheme, "http://xmlns.oracle.com/coherence/coherence-cache-config":class-sc
heme}' is expected.
at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)
at com.tangosol.run.xml.XmlHelper.loadResourceInternal(XmlHelper.java:34
1)
at com.tangosol.run.xml.XmlHelper.loadFileOrResource(XmlHelper.java:283)
at com.tangosol.net.DefaultConfigurableCacheFactory.loadConfig(DefaultCo
nfigurableCacheFactory.java:439)
at com.tangosol.net.DefaultConfigurableCacheFactory.loadConfig(DefaultCo
nfigurableCacheFactory.java:425)
at com.tangosol.net.DefaultConfigurableCacheFactory.<init>(DefaultConfig
urableCacheFactory.java:155)
... 14 more
Caused by: (Wrapped) java.io.IOException: Exception occurred during schema valid
ation:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'externa
l-scheme'. One of '{"http://xmlns.oracle.com/coherence/coherence-cache-config":l
ocal-scheme, "http://xmlns.oracle.com/coherence/coherence-cache-config":class-sc
heme}' is expected.
at com.tangosol.run.xml.XmlHelper.loadXml(XmlHelper.java:122)
at com.tangosol.run.xml.XmlHelper.loadXml(XmlHelper.java:157)
at com.tangosol.run.xml.XmlHelper.loadResourceInternal(XmlHelper.java:32
2)
... 18 more
Caused by: java.io.IOException: Exception occurred during schema validation:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'externa
l-scheme'. One of '{"http://xmlns.oracle.com/coherence/coherence-cache-config":l
ocal-scheme, "http://xmlns.oracle.com/coherence/coherence-cache-config":class-sc
heme}' is expected.
at com.tangosol.run.xml.SimpleParser.parseXml(SimpleParser.java:212)
at com.tangosol.run.xml.SimpleParser.parseXml(SimpleParser.java:93)
at com.tangosol.run.xml.SimpleParser.parseXml(SimpleParser.java:162)
at com.tangosol.run.xml.SimpleParser.parseXml(SimpleParser.java:115)
at com.tangosol.run.xml.XmlHelper.loadXml(XmlHelper.java:118)
... 20 more
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid conten
t was found starting with element 'external-scheme'. One of '{"http://xmlns.orac
le.com/coherence/coherence-cache-config":local-scheme, "http://xmlns.oracle.com/
coherence/coherence-cache-config":class-scheme}' is expected.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAX
ParseException(ErrorHandlerWrapper.java:195)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Err
orHandlerWrapper.java:131)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(
XMLErrorReporter.java:384)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(
XMLErrorReporter.java:318)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErro
rReporter.reportError(XMLSchemaValidator.java:417)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportS
chemaError(XMLSchemaValidator.java:3182)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleS
tartElement(XMLSchemaValidator.java:1806)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startEl
ement(XMLSchemaValidator.java:705)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scan
StartElement(XMLNSDocumentScannerImpl.java:400)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2756)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(X
MLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
(XMLNSDocumentScannerImpl.java:140)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:808)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.jaxp.validation.StreamValidatorHel
per.validate(StreamValidatorHelper.java:144)
at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.vali
date(ValidatorImpl.java:111)
at javax.xml.validation.Validator.validate(Validator.java:127)
at com.tangosol.run.xml.SaxParser.validateXsd(SaxParser.java:236)
at com.tangosol.run.xml.SimpleParser.parseXml(SimpleParser.java:206)
So I think that if can off JVM heap Memory used in the Near-Cache front-tier?
Or can help how to config the off JVM heap Memory used in the Near-Cache front-tier.
Thanks.Only local-scheme and class-scheme can be used in the front-scheme of a near cache.
-
How to save OTF to Memory using E_PRINT_PO?
HI All,
How to save OTF to Memory using this FM: ME_PRINT_PO.
Please let me know.
AshokNo, it should be there, becos inside that FM this fm is also calling, SAVE_OTF_TO_MEMORY. but it is calling in Enhancement point. im not able to put the break point there. i think that code is not executing.
im getting this error: Breakpoint not set since enhancement ISAUTO_SCH_EMM_SAPLMEDRUCK is switched off.
Please help me on this.
Ashok.. -
Display jvm memory use of the server
hello ,
I'm trying to display a graph of jvm memory use of the server.
my problem is how to communicate data between the server and the client ,
should I use applet to display the graph ? , the use of memory change with the time , how manage that ?
thanksA method to retrieve the call graph would be great!
I just discovered that NI Idea Exchange only has a forum for LabVIEW. Maybe it's time to add TestStand the the Idea Exchange. Where do I suggest this idea?!
Message Edited by Phillip Brooks on 08-19-2009 01:56 PM
Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.
"You are what you don't automate"
Inplaceness is synonymous with insidiousness -
how do I have 1 apple id for the family to use in the iTunes and app store and a different apple id for iCloud and FaceTime and imessages?
See also Using your Apple ID for Apple services
specifically the section "Using one Apple ID for iCloud and a different Apple ID for Store Purchases". -
I have an external hard drive that was formatted by a PC and has files and directories copied to it etc. I want to use it on my IMAC for backup. I see it on my my IMAC . I can open files etc. But I can't seem to write to it nor can I delete current content. I don't care if I lose current content. How do I initialize it for use with the MAC?
You can't write to it because it's formatted as NTFS which OS X will read but not write to. If you want to continue using the drive with both a PC and OS X you will need to download and install NTFS-3G so you can then write to it from your Mac. You can get NTFS-3G at:
http://www.macupdate.com/app/mac/24481/ntfs-3g
If you want to use the drive exclusively with your Mac then move the data off it and reformat it in Disk Utility (Applications - Utilities - Disk Utilities) as Mac OS Extended (Journaled.) -
How do I copy/paste full numerical-only account strings into the Projects WebADI template when the account segment fields in the template require use of the dropdown because they're formatted as alpha-numeric values? I'm using the Integrator named "Projects - Transaction Import" and a custom Layout created based on the seeded Layout named "Transaction Import - Accounted". Do I need to somehow change my Layout to make the Document accept numerical values instead of requiring alpha-numeric values? I need to be able to populate the Document with a large amount of transactions and cannot feasibly go through every transaction to add the alpha-valued name of the account segment to every segment that requires it. The segments in particular causing the problem are "Expnd Type" and "Organization Name" which are both alpha-numeric and as such contain the segment number and name; I need to be able to only have to enter the Natural Account Number (6-digit number only) and the Organization Number (5-digit number only).
How do I copy/paste full numerical-only account strings into the Projects WebADI template when the account segment fields in the template require use of the dropdown because they're formatted as alpha-numeric values? I'm using the Integrator named "Projects - Transaction Import" and a custom Layout created based on the seeded Layout named "Transaction Import - Accounted". Do I need to somehow change my Layout to make the Document accept numerical values instead of requiring alpha-numeric values? I need to be able to populate the Document with a large amount of transactions and cannot feasibly go through every transaction to add the alpha-valued name of the account segment to every segment that requires it. The segments in particular causing the problem are "Expnd Type" and "Organization Name" which are both alpha-numeric and as such contain the segment number and name; I need to be able to only have to enter the Natural Account Number (6-digit number only) and the Organization Number (5-digit number only).
-
I have an ipad and iphone sharing icloud. The ipad is using 268mb, the iphone 2.6. My plan is 5gb but it keeps saying I don't have enough space to back them up. How is this possible?
Hey sameyrs2,
Thanks for the question. Based on what you stated, it seems like you are getting a message when trying to backup to iCloud. I would recommend that you read these articles, they may be helpful in troubleshooting your issue.
iCloud: Understanding Backup alert messages
Manage your iCloud storage
Thanks for using Apple Support Communities.
Cheers,
Mario -
hey how are you guys listen i have an iphone 4s the one i use with the H20 CARRIEr and i trying to enable the option call forwarding and when i type tho number i go back and i notice to the call forwarding it turning off as soon i back to the main menu ?
There are a lot of posts in the forums today with people having problems with iMessage. There was also a published outage yesterday, so it's possible there are still some issues that may be impacting you both.
I would just wait it out - I'm sure it will be sorted out soon. -
As i had said, I have an Apple Powerbook G4, and my monitor doesn't function. I have an external display Monitor, however it's stuck in extended screen mode. How do I get it to mirror or duplicate the display without use of the on-board? Is there a Fn key combo i'm missing or is the issue more serious then i realize? any and all help and hints would be greatly apprichiated, thanks in advance.
-Powerbook UserThe PowerBooks have an F-key that toggles mirrored and extended mode. My PB is loaned out right now but I think it was f7. The keycap has an icon on two overlapping rectangles, as I recall.
EDIT: Yes! Found a pdf of the PB manual it shows F7 is the toggle: -
By mistake I put the camera memory card into the DVD slot How can I get it out
I put the camera memory card into the DVD slot How can I get it out
You'll be pleased to know you're not the first (or last) to do this .
Have a look at this old thread, Cathy 1956's tip on page 1 seems to work for a lot of people:
https://discussions.apple.com/thread/2283444?start=0&tstart=0
Worth reading the whole thread as other people have chimed in with other ways of extracting the disk. -
How can i get the maximum salary first in the order of ascending
Hi,
How can i get the maximum salary first in the order of ascending.
I need the sql query.
my output should like:
Emp_Name Salary
A 5000
SS 100
AA 300
DD 700
WW 2000
Thanks,
MuthyaM.Here is an example :
SQL> with mytable as
2 ( select 'aa' as col1, 300 col2 from dual union all
3 select 'ss' as col1, 100 col2 from dual union all
4 select 'a' as col1, 5000 col2 from dual union all
5 select 'dd' as col1, 700 col2 from dual union all
6 select 'ww' as col1, 2000 col2 from dual )
7 select col1, col2
8 from mytable
9 order by decode(row_number() over (order by col2 desc),1,0,1),col2;
CO COL2
a 5000
ss 100
aa 300
dd 700
ww 2000
SQL>Nicolas.
Maybe you are looking for
-
Hi All, I am working on a user-exit which I picked up in middle of developement and which is using memory id concept. The requirement is like display error message in ME21N transaction and when clicking the Additionl Information in error msg it shoul
-
Hi, where can I see the people code of a process ? Many thanks before.
-
Af:table - How can an af:selectOneChoice filter field be achieved?
In one of the examples i saw, that there was an af:inputDate generated for filtering of a date column . The inserted code is <af:column sortProperty="HireDate" filterable="true" sortable="true" headerText="#{bindings.EmployeesView3.hints.HireDate.lab
-
I know that there was a plug in for the MAC version of Lightroom that allowed direct export to photo sharing sites such as Flickr. Is there a work around in windows? There is a set of pre-sets for export including e mail. Is it possible to create a p
-
Hi Everyone, I have been searching forum after forum trying to find an answer to my question but am not having any luck. I have found one option but there has to be a better way. As I am taking a Computer Forensics major I need to disable auto-mounti