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 ?
thanks
A 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
Similar Messages
-
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. -
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.
-
Query memory use of a HashMap at runtime? Overall JVM Memory Use?
Is there any way that my application can query the deep memory usage (including keys/values) of a HashMap instance at runtime?
Is there any way that I can query overall memory use of the entire app or JVM through code?
Thanks!You can use the memory profiler in JDeveloper to test this:
http://www.oracle.com/technology/pub/articles/masterj2ee/j2ee_wk11.html
http://www.oracle.com/technology/products/jdev/tips/duff/debugger_memoryleaks3.html
http://radio.weblogs.com/0118231/stories/2005/07/21/tipsForUsingHeapWindowAndMemoryProfilerToFindMemoryLeaks.html -
JZ0I6:An error occured converting UNICODE to the charset used by the server
Hi Friends,
I am using weblogic 8.1 and I developed one MD Bean(Message Distributor Bean). Which takes message from JMS queue and pulish it to JMS Topic. Database is sybase. I was facing this issue.
I am facing following issue:
java.sql.SQLException: JZ006: Caught IOException: java.io.IOException: JZ0I6: An error occured converting UNICODE to the charset used by the server. Error message: java.io.CharConversionException: ?
at com.sybase.jdbc.ErrorMessage.raiseError(Ljava/lang/String;Ljava/lang/String;)V(ErrorMessage.java:???)
at com.sybase.tds.Tds.language(Lcom/sybase/jdbc/ProtocolContext;Ljava/lang/String;Lcom/sybase/jdbc/ParamManager;)V(Tds.java:???)
at com.sybase.jdbc.SybStatement.sendQuery(Ljava/lang/String;Lcom/sybase/jdbc/ParamManager;)Z(SybStatement.java:???)
at com.sybase.jdbc.SybPreparedStatement.sendQuery(Ljava/lang/String;Lcom/sybase/jdbc/ParamManager;)Z(SybPreparedStatement.java:???)
at com.sybase.jdbc.SybStatement.executeUpdate(Ljava/lang/String;Lcom/sybase/jdbc/ParamManager;)I(SybStatement.java:???)
at com.sybase.jdbc.SybPreparedStatement.executeUpdate()I(SybPreparedStatement.java:???)
at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate()I(PreparedStatement.java:115)
at com.lehman.PW.messageMonitor.GASMessageDistributorBean.onMessage(Ljavax/jms/Message;)V(GASMessageDistributorBean.java:343)
at weblogic.ejb20.internal.MDListener.execute(Lweblogic/kernel/ExecuteThread;)V(MDListener.java:370)
at weblogic.ejb20.internal.MDListener.onMessage(Ljavax/jms/Message;)V(MDListener.java:262)
at weblogic.jms.client.JMSSession.onMessage(Ljavax/jms/MessageListener;Lweblogic/jms/common/MessageImpl;)V(JMSSession.java:2678)
at weblogic.jms.client.JMSSession.execute(Lweblogic/kernel/ExecuteThread;)V(JMSSession.java:2598)
at weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown Source)
Please give me the solution.This problem has resolved. I added one line: "CHARSET_CONVERTER_CLASS=com.sybase.jdbc2.utils.PureConverter" into weblogic datasource.
In Internet I got lot's of article but it was worst. There were giving solution on Weblogic 4 or some old version. Generally on internet you will get article:
http://publib.boulder.ibm.com/infocenter/wasinfo/v4r0/index.jsp?topic=/com.ibm.support.was40.doc/html/DB_Connections_Connection_Pooling/swg21066787.html
This article is giving information about weblogic 4.
But We need to solve the issue into weblogic into 8. So in datasource set property: CHARSET_CONVERTER_CLASS=com.sybase.jdbc2.utils.PureConverter. Do not set property: CHARSET_CONVERTER_CLASS=com.sybase.jdbc2.utils.TruncationConverter -
Increase JVM memory using Java Code
Hi Friends
I am in a critical situtation and not able get the solution. My application is huge and need of increase in JVM memory. I am able to increase JVM memory in command prompt
java -Xmx500m classname
Simarly I am able to run jar file also
java -Xmx500m -jar sample.jar
I need to know how to set JVM memory for executable JAR. When I just double-click the JAR application load and i am getting Out Of Memory. I dont what ti use command prompt to execute. Please help me with this program. Thanks in advanceI gone through the code of ImageJ software. ImageJ is
a freeware and wrtten in Java. They are setting jvm
memory in code, getting the description of the code
was difficult.
long memoryBytes =
s = Runtime.getRuntime().maxMemory();
long memoryMB = memoryBytes/1024/1024;
long memoryDiff = memoryMB - 64;
String s = "Runtime.maxMemory: " + memoryMB +
B + "MB\n";
s = s + "Difference: " + memoryDiff + "MB";
System.out.println("s..." + s);
The above code will give you the memory allocated for JVM. Yes.
When there is a way to find the memory space,
there should be some way to set it. No.
I am still trying to set the memory in code r using external resource.Read reply 4.
I want to just give the executable jar to users. They
are not satisified with the bat file and hidding
command prompt in background.You may be able to use Runtime.exec() to launch another instance of java, with whatever heap setting you desire. -
How to deallocate memory used by the labview program?
Hi,
I have bulit a large application in labview 2012 that uses a couple of subvis, local and global variables, some uninitialized shift registers (functional global variables) and some c++ and .net dlls as well. When I open my application the memory usage shown at Windows task manager is around 1.4GB. After running the application and enabling all processes used in the application, the memory usage goes up to 1.55GB but when i stop the application, memory is never released/deallocated until i close the application plus exit labview. Can you suggest how to deallocate this memory? and how can i use the request deallocation function for this application? labview help says i have to place it inside a subVI for which i want to deallocate memory. But i have a lot of subVIs used in my application. I tried placing it in the top level VI and called it after stopping all processes but it didn't work... I am also closing references to all of the .net dlls at the end. Any workarounds??
Thankssandee wrote:
When I open my application the memory usage shown at Windows task manager is around 1.4GB. After running the application and enabling all processes used in the application, the memory usage goes up to 1.55GB but when i stop the application, memory is never released/deallocated until i close the application plus exit labview.
You already got some good advice. One thing that was not clear was how you are measuring memory. Since the task manager is capable of showing the memory used by LabVIEW alone (you simply need to look elsewhere), and you said that the memory gets released when you exit LabVIEW, you gave the impression that the 1.4GB was the LabVIEW portion.
OK, so a couple of hundred MB used by LabVIEW is really nothing to worry about. Are you running into memory or other performance problems? What are the symptoms?
sandee wrote:
I have bulit a large application in labview 2012 that uses a couple of subvis, local and global variables, some uninitialized shift registers (functional global variables) and some c++ and .net dlls as well.
We really need to see some code. It is very well posssible that you have a lots of unecessary data copies in memory due to sloppy programming. How big are the data structures? Do you use local variables for big data structures? What does the program actually do?
LabVIEW Champion . Do more with less code and in less time . -
Qn: How to find the the API version using on the server
Hi,
I would like to know how the following details can be obtained.
. The servlet container running on the server
. The servlet API currently using by the container
. The JSP API version currently using container
How the above details can be obtained ? will I be able to identify the versions by extracting the .jar file (servlet-api.jar/jsp-api.jar) ?
Regards,Not really,
The Servlet APIs has been there from 1.0 till 3.0. This we will be used by the servlet container. To find which is the version of the .jar file there may be some methods...
I think The JSP has only three versions 1.2, 2.0 and 2.1 -
Firefox Does Not Display Topics When Using "#" in the URL
I'm currently having a problem with Firefox not opening
context-sensitive help links using URLs, rather than map IDs. For
example, if the URL is
http://www.myhelp.com/index.htm#custom_topic.htm,
Firefox will load the page as expected (except it appears to
continue loading the page, which is another issue that is discussed
in another forum), but either immediately loads the parent topic
(if the requested topic is a subtopic in a book) or displays a
"Page Cannot Be Displayed" error. It's peculiar in that the correct
topic loads (the one after the octothorpe), but Firefox (or
WebHelp--I'm not sure who's to blame here) then goes to the parent
topic or displays the error. Any guesses?I agree with Peter's obervation about test projects.
Let me suggest some patches. They may cure the
load-topic/reload-default-topic misbehavior.
In the output file whtbar.js look for this line:
else
if(sType=="hide2"&&(!gbNav4)&&(!gbOpera))
It occurs only once. Change it to
else if(sType=="hide2"&&(!gbOpera))
In the same output file, near the end, look for
function tryReload()
if (gnRE==1)
document.location.reload();
gnRE--;
Make it read
function tryReload()
if (gnRE==1)
// document.location.reload();
gnRE--;
About those JavaScript references you were deleting, you need
to keep them because they have browser-sniffing and filtering code.
Also:
In the output file myproject.htm look for these lines near
the beginning:
<meta name="description" content="WebHelp 5.50">
</head>
Delete </head> here because it belongs elsewhere.
In the same output file myproject.htm look for these lines
near the end:
</script>
<frameset cols="100%,*" frameborder=no border=0>
Make them read
</script>
</head>
<frameset cols="100%,*" frameborder=no border=0>
At the very end before </html>, insert
<body></body>:
<body></body>
</html>
Why, you may ask, would Firefox be affected by code that
filters for Nav4?
I don't completely get it, but it seems Firefox also
identifies itself as a Mozilla browser, and the ancient code in
whver.js appears to equate Mozilla with Nav4. Once this flag is
set, it is not turned off. In fact browser ID flags accumulate. So
Firefox may be burdened with RH browser ID flags for Mozilla, Nav4
and maybe Nav5, Nav 6, Nav61 and Nav7.
Just try to find your way through all the RH code filters
with those flags.
If you're really adventuresome, go into whver.js and add flag
definitions for gbFirefox (I think gb stood for generic browser,
i.e., not IE) and insert it into all the "if" conditions where you
think it should be treated the same as, or differently from, the
other browsers.
Disclaimers and warnings:
All of the above applies to RH 5 code. I haven't had time to
look in RH6. Adobe may have fixed some, not others.
Because these are output files, RH probably will overwrite
them when you publish a revised version, so you must check the new
published output.
As always:
It works for me but may not work for you; back up everything,
test and retest, etc., etc. My driver's license is good in my chair
but may not be valid elsewhere.
Good luck.
Harvey -
nothing seems to work. I was told iniitally that it was a server issue, but the status seems to show the servers are now working. This has been goingon for almost 2 days now. Anyone have a clue about how to fix this?
nothing seems to work. I was told iniitally that it was a server issue, but the status seems to show the servers are now working. This has been goingon for almost 2 days now. Anyone have a clue about how to fix this?
-
Let suppose I import a 30GB Aperture Library into LR which is on my HD. After the importation, if I send the imported library to the Trash and clear the Trash the disk space is not released by LR. So after a few importations I get the message that I do not have enough space on my HD to copy another library on the HD from an external drive which contains many Aperture libraries.
Casita17, I recommend you evaluate ssprengel's questions and advice. Please read the following below, as we don't want you to lose images! I fear that you may be using a "referenced" library in Aperture, and this is the reason your disk space is not being released. I would NOT RECOMMEND breaking your library into pieces for now. You may very likely lose critical linkages, especially in albums. If you have a number of Aperture libraries to begin with, then never mind. Just be aware, Lightroom users generally recommend using only one lightroom catalog, which it sounds like you're doing.
Lets forget your system drive for now. Do you have two times the disk space on your photos drive? If not, do you have another drive laying around with as much space? I recommend you make a backup before you continue.
I'm not quite sure what approach your are using, but I think the root cause of your dilemma exists because of how Aperture and Lightroom manage and store your images. It may help to post what actions you take, step by step, and include the error messages.
You may already know some of these concepts, but lets leave no stone unturned.
First, Aperture uses "libraries", which contain all metadata and previews. These images may be stored within the database (managed images), outside the database (referenced images), or a combination. Can you apply a filter to your all photos selection, and tell us how many managed and references images you have?
Please read this for a better explanation:
http://www.lifeafterphotoshop.com/managed-vs-referenced-files-in-aperture/
Second, Lightroom's catalog is like an Aperture library. Only ALL images are stored externally, "referenced" in Aperture parlance.
You should be able to create the Lightroom Catalog on any drive. However, where you eventually store your images depends on what options you choose in the plugin when importing these images.
Any "managed" photos in Aperture WILL BE copied to the location you specify in the plugin. Any "referenced" files MAY OR MAY NOT BE copied to the location. They may be copied, or they they may remain in place, depending what options you select in the plugin.
Not sure I follow where you have your aperture library, images, and where you eventually want to store your Lightroom catalog, and where you want to store your lightroom images. I'd suggest not breaking up your Aperture library.
If you are short on disk space, I suggest making a backup. Then, select all photos and change them from managed to referenced, which will relocate the photos from within the library, to outside the library, preferably on the same drive. Then, create a Lightroom catalog, wherever you have room.
Run the plugin and choose the option NOT to copy the files. This way, it will leave them in place on your photo drive. Some images may be copied to the lightroom masters destination any way, so you may want to choose another location on your photo drive in the plugin import options anyway.
When the migration finishes, you can delete the Aperture library, which will not remove all that much, and will not make much more space available. And do NOT delete the image location you designated in Aperture, because you'll now be using it for Lightroom. But this way, you'll be able to keep your space usage under control.
But KEEP your backup, even after the migration, JUST IN CASE! -
Where shouold I find jvm.h used for the native launcher compile?
I examined the source in src.zip to try to compile the native launcher and to better understand how some of the new features of Java 6 were implemented.
It includes a reference to jvm.h, but I have not located what I can be sure is the proper copy.
One copy I found contained a reference to jvm_md.h also referenced but I could not locate a reliable copy of that.
Where would these, and any other missing, files be found? I would like to compile the launcher for Windows.
Is there a better forum on which to post such a question as this?You need to download the Mircrosoft Windows SDK. Try http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
and click on the link labeled Core SDK.
It includes windows.h and associated header files. -
Memory leak in the JVM leading to system oom
Hi,
We are running application server using java 1.5, tomcat 5.5 ...
The problem is that the JVM is allocating memory continuously.
If we look at the JVM memory from JConsole everything is OK the amount of memory allocated in the heap does not grow significantly.
If we look at the JVM memory consumption from the system perspective, the memory usage is growing until the system runs out of memory and kill the JVM. The JVM memory usage goes beyong 1.5 Go of memory whatever options you use when launching the JVM.
The memory allocation is so intense that it can lead to a crash in few hours with very few users connected to the application.
We have tried JDK 1.5.05 and 1.5.06 still the same.
We are running on a Linux Debian system wth a 2.6.8 kernel.
Any idea of where all this memory goes ?
Any idea on how to track and solve this memory leak ?Hi Martinux,
Tiger and Mustang come with a number of diagnosing tools that could help
you spot memory problems. In particular there's something called 'jmap' which can
take a snapshot of the JVM memory.
Danny Coward has recently written a nice blog to emphasize the existence
of this new tools - see
"Crash Course: Java SE Monitoring, Management and Troubleshooting"
http://blogs.sun.com/roller/page/dannycoward?entry=crash_course_java_se_monitoring
Of course if the problem isn't in the JVM...
BTW: you did also look at the non-heap memory, right? and also at the total
number of loaded classes?
hope this helps,
-- daniel
JMX, SNMP, Java, etc...
http://blogs.sun.com/roller/page/jmxetc -
How to make use of the spare physical memory under buffered I/O of Essbase
We encountered an issue of the physical memory allocation of the server running Essbase with buffered I/O mode. We have implemented some cache setting in Essbase but still found that the disk I/O is quite high. Also we observed that Windows 2003 server cannot make use of the spare physical memory available as the system cache for database files of Essbase.
As allocating more memory as Essbase cache might not help, we would like to know other than changing to direct I/O mode, any other options can improve the disk I/O performance?
Thanks!Sandeep Reddy wrote:
Hi Hyperion_User,
1. Disk IO performance,It mighe depend on quite a few things , one of the aspects might be your storage system. It can depend on the disk configuration too ( i.e if your disk is SAN or NAS, then it depends on the configuration like Raid ..etc).
2. It depends on the HBA ( host bus adapter).
3. Let me try to explain with diagram.
http://www.c-sharpcorner.com/uploadfile/freebookarticles/apress/2008dec16010208am/DataStorageDesign/Images/159059214X-1404.1.gif
4. It might depend on the HBA and even on the switch speed.
5. Buffered IO is a very generic setting,which most of them use( that should not be an issue).
6. Even if you have 30 to 40 GB free memory, every application in essbase has a limitation to it maximum usage ( 2 GB on windows ). Refer to DBAG for more information on this .
Sandeep Reddy Enti
HCC
http://hyperionconsultancy.com/
Thanks for your detailed advice. I just wonder if more physical memory can help to improve the disk I/O being used for concurrent read/write access. We are using Windows 2003 Enterprise Edition and not sure whether some spare physical memory can be used for this purpose.
Thanks again! -
How to get memory usage of the JVM...
Hi,
I want to know the total amoutn of memory used by the JVM, while I am doing some particular transaction over my web application.
One way is to use the methods in java.lang.Runtime. But the output seems to be fluctuating to a significant extent.
Is there an alternative way to accomplish the same.
TIA,
Basu.Complie with the setting -verbose:gc,
whenever the GC runs, it prints out the acutal amount of mem originally used, the amount used after GC and the JVM mem usage.
Maybe you are looking for
-
I have lost my adobe facility as I had to replace my hard drive. What do I do?
I have lost my adobe facility having had to relpace my hard drive. Help please ot reinstall
-
Watch tv episodes downloaded ti iPad on TV
I can't find a definitive answer to this. I want to download TV episodes and connect iPad to my large screen HDTV. One of the techs at the Apple store said neither the VGA or the other adaptervkit will work because the iPad is no equipped to do it. H
-
Hello folks, I have a script that uses the CFHTTP tag to send in some XML to a url, which returns a code back to my script. 01. <cftry> 02. <cfhttp 03. url="http://the.url.to.post.to" 04. port="443" 05. m
-
Have JDeveloper 10.1.2 has Report objects ?
Hi all, Please help me to answer this question: Have JDeveloper 10.0.2 has Report objects like JDeveloper 9i ?
-
I cannot cancel my subscription to Creative Cloud. Adobe won't give me a possibility
I have been trying for about an hour to simply cancel my subscription to Creative Cloud; but Adobe just keeps sending me in circles. It is really maddening. Why can't I just simply cancel my subscription?? I thought Adobe was a legitimate company, bu