Memory leak since upgrade to 1.6?
Hi,
We have a server which has been running nicely for about 9 months on HTMLDB 1.5. However since we upgraded to 1.6 we are getting regular errors as follows:
ORA-04031: unable to allocate 131092 bytes of shared memory ("large pool","unknown object","session heap","kgich").
restarting the database fixes the problem for a while but after a day or 2 it happens again.
There have been no other changes except the upgrade to 1.6, could there be something causing a memory leak in the new version?
Our server is running Linux with 1GB memory and is dedicated to the HTMLDB instance.
Steve
Steve,
Instead of bouncing your database, have you thought of increasing your large_pool_size initialization parameter?
This would not be a memory leak. If anything, it would be a function of more memory required per page view than before. Just out of curiousity, is this dedicate server mode or MTS?
Joel
Similar Messages
-
Huge memory leaks after upgrading from kernel 2.6.38(?)
My system began leaking memory some months ago and I've little to no idea what is causing it. The closest hint I can give is that I think these problems started around upgrading from Linux 2.6.38 to 2.6.39 and have continued with 3.0 aswell. Sometimes my whole system freezes due to extensive swapping (HDD usage led stays lit), sometimes it stops after consuming almost all of my 4 GB RAM.
I think the leak has to come from inside the kernel because all sysmon apps claim no application is eating too much RAM yet the system memory consumption is at 100 % or even using swap. Even after I kill Xorg the memory usage will stay at least at 2.0 GB, when it should be less than half a gig.
I'd like to guess the blame is on Nouveau, because it was giving me a hell of a time back with Linux 2.6.39. It had a habit of freezing my system when re-enabling suspended compositing (both with Kwin and Mutter). Also video playback was corrupted sometimes. These probs have since been fixed with Linux 3.0.
I cannot name any spesific app that might trigger this memory leaking. I don't play any games and mainly use Firefox, Chromium and VLC day in, day out.
There seems to be absolutely no way of reclaiming the reserved memory than rebooting the whole system. I have even tried unloading Nouveau.
I am currently running the [testing] repo with ~daily upgrades.
Last edited by Verge (2011-08-16 14:04:09)OK, this kind of surprised me. No wonder I couldn't find any relevant stuff while googling for kernel issues. I have had Strigi disabled for some time now because it is miserably broken, but I now disabled the whole Nepomuk too. Let's see if my problem now goes away or what...
The release of KDE 4.7 Beta 1 actually lines up with the launch of Linux 2.6.39 so this really might be the case. I moved to KDE 4.7 already with the first beta.
Last edited by Verge (2011-08-16 14:30:37) -
Very high memory usage since upgrading to 3.6.4
Since upgrading 3 days ago FF pretty much runs up to 500mb as a floor and can get up to 800mb of memory. I had this issue with 3.5 but it vanished with 3.6 and was living in bliss as it rarely broke 250 mb.
I haven't added any extensions nor made any other changes. Is anyone else experiencing this?
== This happened ==
Every time Firefox opened
== Upgraded to 3.6.4Hello everyone.
If you are having problems with RAM/CPU usage, do this:
#run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe-mode] to disable all extensions, themes and plugins. If this fixes your issues, be them with RAM or CPU usage, then you know it's a problem with plugins, themes or extensions. Proceed to number 2. If safe-mode doesn't fix the issues, then read bellow, after this list;
#update all extensions, themes and [https://www.mozilla.com/en-US/plugincheck/ plugins] in your Firefox. If this doesn't solve the issues, proceed to the following number;
#disable all extensions, themes and plugins in your Firefox (not running safe-mode). Being certain that, as in safe-mode, the problems you're having have gone away, enable one plugin at a time. You should be certain that you WANT that plugin to be enabled, so keep your overall number of plugins as low as possible. When you encounter the problems, you know you've found a problematic plugin, so disable it for good. Keep enabling all plugins (except problematic ones) until you've gone through them all.
#enable one extension at a time. Again, be certain that you WANT that extension to be enabled, so keep your overall number of extensions as low as possible. Also, try the theme you want to have installed so see if that is what's causing the problem. When you encounter the problems, you know you've found a problematic extension/theme, so disable it for good. Keep enabling all your extensions (except problematic ones) until you've gone through them all;
#you're done! You've fixed your problems with problematic add-ons. If you want to keep using those problematic add-ons, please contant their author for support.
Ok, if disabling all extensions and plugins through safe-mode didn't work to bring Firefox's CPU and RAM usage to good levels, then you have different issue. The most likely scenario is that you have a third party software running on your computer that is messing with Firefox. Do as follows:
#try reinstalling Firefox. No data will be lost. You can get the latest version for free at [http://www.getfirefox.com/ getfirefox.com]. If that doesn't fix the problem, proceed;
#do a virus/malware check on your computer. If this doesn't fix it, proceed;
#disable all software running in the background that you don't want to have running in the background (in windows, this is done by pressing WINDOWS+R in your keyboard, typing "msconfig" (without the commas) and pressing enter. Now, under the "Startup" tab, you can uncheck the software you don't want, and reboot your system for changes to take effect. If you're unsure of what software you want running, ask someone with more experience). If this doesn't fix your issues with Firefox, proceed;
#check your firewall/antivirus/security suite for enabled functions/features that you don't want and/or may be conflicting with Firefox. You'll find that these features are most likely tied to Internet Security features, such as link scanners or URL checkers and the like. If you're not sure they are conflicting with Firefox, simply try to disable them to see whether or not that's true. As long as you don't browse the web with your antivirus completely off and your firewall completely turned off, there should be no problems. If this doesn't solve the issues, proceed to the following number;
#check your operating system security options, mainly advanced options that are not configured by default. While it's very unlikely that this may be the cause of the problem (after all, it's the last item on the list), it's remotely possible. If this doesn't work, proceed to the following point;
#update your modem/router software. There have been some reports that some modem/router software may cause Firefox and other browsers to loose performance and/or stability. If updating doesn't fix your issue, try other versions of the software, if possible. If you need support with this, contact your modem/router manufacturer. If this doesn't help, proceed;
#clean up your OS registry, using appropriate software. Make sure you've followed my instructions correctly, but if this all doesn't work, [http://support.mozilla.com/en-US/kb/Managing+profiles create a new Firefox profile] (this can be temporary, of course) and see if the issues persist. Report here the results, so we can help you further. -
Memory hog since upgrading iphone to iOS 6
hi - hope someone can help. There's a huge chunk of hard drive space assigned to other since upgrading ipHONe to ios 6
I'm running Lion 10.7.5 on MacBook Pro 2.4GHz 160GB.
Yesterday I upgraded iPad to ios 6 - no probs. Then iPhone 4s. There wasn't enough space for the iphone backup so the upgrade aborted. I freed up space, but it still aborted the next time. I installed the Lion OS upgrade, used dusk utiltiy and ONYX to clean stuff up. Many restarts etc. 'Other' is now consuming 136gb of HD space and I can't find the files that are doing it.
Any ideas greatly appreciated
cheers
TI had exactly the same experience with my iPhone 4 and my iPad 2.
"Other" went up to 8 or 9 GB !
I reinstalled both from scratch and then it was ok. "Other" is now 0,87 GB on my iPhone. I hope it stays this way. -
Memory leak after upgrading to ColdFusion 10
We recently upgraded from CF8 to CF10 and we're running into some issues. We started off getting a lot of OutOfMemory errors with the default heap settings. Chaning them to 768MB/1280MB which has helped, but we're still running into occasional OOM issues. We took a heapdump as the instance was having problems today with blocked threads and noticed the heap usage was near the max so it was probably going to run out of memory soon too. Below is what the eclipse memory analyzer tool found as a possible leak suspect. Does anyone have any suggestions on where to go from here? Not sure if it's an issue with CF itself or something in the app. Thanks
Description
One instance of "coldfusion.runtime.ClientScopeServiceImpl" loaded by "coldfusion.bootstrap.BootstrapClassLoader @ 0x120bbaf0" occupies 838,847,880 (88.33%) bytes. The memory is accumulated in one instance of "java.util.HashMap$Entry[]" loaded by "<system class loader>".
Keywords
coldfusion.runtime.ClientScopeServiceImpl
java.util.HashMap$Entry[]
coldfusion.bootstrap.BootstrapClassLoader @ 0x120bbaf0
Shortest Paths To the Accumulation Point
Class Name
Shallow Heap
Retained Heap
java.util.HashMap$Entry[524288] @ 0x3b88e058
2,097,168
838,843,064
table java.util.HashMap @ 0x1212d2f8
48
838,843,112
sharedClientScopeMap coldfusion.runtime.ClientScopeServiceImpl @ 0x1212af08
88
838,847,880
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x100f16d8 ajp-bio-51010-exec-20 Thread
112
21,624
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x103df100 ajp-bio-51010-exec-36 Thread
112
19,552
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x1043f0e0 ajp-bio-51010-exec-72 Thread
112
19,392
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x10a8eec0 ajp-bio-51010-exec-83 Thread
112
22,288
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x10befce8 ajp-bio-51010-exec-54 Thread
112
18,256
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x11d35e18 ajp-bio-51010-exec-5 Thread
112
23,776
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x121b97e0 ajp-bio-51010-exec-68 Thread
112
18,160
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x123c4f88 ajp-bio-51010-exec-74 Thread
112
18,816
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x123c5078 ajp-bio-51010-exec-27 Thread
112
19,784
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x12693f30 ajp-bio-51010-exec-75 Thread
112
19,208
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x126e7ff8 ajp-bio-51010-exec-26 Thread
112
19,200
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x1297dd60 ajp-bio-51010-exec-78 Thread
112
20,592
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x12d3a818 ajp-bio-51010-exec-73 Thread
112
21,304
service class coldfusion.runtime.AppHelper @ 0x12fae868 »
112
1,032
clientScope class coldfusion.server.ServiceFactory @ 0x11047060 »
96
55,184
Total: 15 entries
Accumulated Objects
Class Name
Shallow Heap
Retained Heap
Percentage
coldfusion.runtime.ClientScopeServiceImpl @ 0x1212af08
88
838,847,880
88.33%
java.util.HashMap @ 0x1212d2f8
48
838,843,112
88.33%
java.util.HashMap$Entry[524288] @ 0x3b88e058
2,097,168
838,843,064
88.33%
java.util.HashMap$Entry @ 0x25370040
24
51,409,128
5.41%
java.util.HashMap$Entry @ 0x1b878cf8
24
12,173,192
1.28%
java.util.HashMap$Entry @ 0x15d049c8
24
10,685,760
1.13%
java.util.HashMap$Entry @ 0x41af3d98
24
10,587,208
1.11%
java.util.HashMap$Entry @ 0x3ff95918
24
10,443,664
1.10%
java.util.HashMap$Entry @ 0x43c422b0
24
9,886,280
1.04%
java.util.HashMap$Entry @ 0x3eec68a8
24
9,723,216
1.02%
java.util.HashMap$Entry @ 0x230c3078
24
9,254,288
0.97%
java.util.HashMap$Entry @ 0x2e36cab8
24
6,494,488
0.68%
java.util.HashMap$Entry @ 0x45e499e8
24
6,178,320
0.65%
java.util.HashMap$Entry @ 0x2a91c258
24
4,008,048
0.42%
java.util.HashMap$Entry @ 0x4260ee28
24
3,542,552
0.37%
java.util.HashMap$Entry @ 0x3dfb9e98
24
3,503,072
0.37%
java.util.HashMap$Entry @ 0x43f354a0
24
2,908,120
0.31%
java.util.HashMap$Entry @ 0x1adfb600
24
2,197,056
0.23%
java.util.HashMap$Entry @ 0x4469eee0
24
2,050,528
0.22%
java.util.HashMap$Entry @ 0x4443dea8
24
2,034,224
0.21%
java.util.HashMap$Entry @ 0x41b79ff0
24
1,846,808
0.19%
java.util.HashMap$Entry @ 0x40931b50
24
1,846,784
0.19%
java.util.HashMap$Entry @ 0x40c62310
24
1,846,784
0.19%
Total: 20 entries
480
162,619,520
0.171
Accumulated Objects by Class
Label
Number of Objects
Used Heap Size
Retained Heap Size
java.util.HashMap$Entry
First 10 of 190,465 objects
190,465
4,571,160
836,711,024
java.lang.String
First 10 of 253 objects
253
6,072
26,408
java.lang.reflect.Method
First 10 of 57 objects
57
4,560
4,560
coldfusion.runtime.ClientScope
All 1 objects
1
56
2,632
java.lang.Class[]
First 10 of 73 objects
73
1,248
1,248
coldfusion.runtime.ClientScopeKey
All 1 objects
1
24
24
java.lang.Class
All 2 objects
2
0
0
Total: 7 entries
190,852
4,583,120
836,745,896Hi Sharma,
Here's the settings summary from the console. The OOM issue is now happening about 1-2 times weekly after increasing the heap size. Before that it was almost daily. It seems we can go about 75-85 hours before we restart due to either OOM or blocked threads.
Settings Summary
Server Settings > Settings Summary
Report generated on Sep 25, 2014 12:08 PM
This report shows the status of all ColdFusion configuration settings. To display the area of the ColdFusion Administrator where you can edit the group settings, click any of the groups in the report.
System Information
Server Details
Server Product ColdFusion
Version ColdFusion 10,286680
Edition Enterprise
Operating System Windows 2003
OS Version 5.2
Update Level /D:/ColdFusion10/cfusion/lib/updates/chf10000012.jar
Adobe Driver Version 4.1 (Build 0001)
JVM Details
Java Version 1.7.0_15
Java Vendor Oracle Corporation
Java Vendor URL http://java.oracle.com/
Java Home D:\ColdFusion10\jre
Java File Encoding Cp1252
Java Default Locale en_US
File Separator \
Path Separator ;
Line Separator Chr(13)
User Name SYSTEM
User Home C:\Documents and Settings\Default User
User Dir D:\ColdFusion10\cfusion\bin
Java VM Specification Version 1.7
Java VM Specification Vendor Oracle Corporation
Java VM Specification Name Java Virtual Machine Specification
Java VM Version 23.7-b01
Java VM Vendor Oracle Corporation
Java VM Name Java HotSpot(TM) Server VM
Java Specification Version 1.7
Java Specification Vendor Oracle Corporation
Java Specification Name Java Platform API Specification
Java Class Version 51.0
CF Server Java Class Path ;D:/ColdFusion10/cfusion/lib/updates/chf10000012.jar; D:/ColdFusion10/cfusion/lib/ant-launcher.jar; D:/ColdFusion10/cfusion/lib/ant.jar; D:/ColdFusion10/cfusion/lib/antlr-2.7.6.jar; D:/ColdFusion10/cfusion/lib/apache-solr-core.jar; D:/ColdFusion10/cfusion/lib/apache-solr-solrj.jar; D:/ColdFusion10/cfusion/lib/asm-all-3.1.jar; D:/ColdFusion10/cfusion/lib/asn1.jar; D:/ColdFusion10/cfusion/lib/axis.jar; D:/ColdFusion10/cfusion/lib/backport-util-concurrent.jar; D:/ColdFusion10/cfusion/lib/bcel-5.1-jnbridge.jar; D:/ColdFusion10/cfusion/lib/bcel.jar; D:/ColdFusion10/cfusion/lib/bcmail-jdk14-139.jar; D:/ColdFusion10/cfusion/lib/bcprov-jdk14-139.jar; D:/ColdFusion10/cfusion/lib/cdo.jar; D:/ColdFusion10/cfusion/lib/cdohost.jar; D:/ColdFusion10/cfusion/lib/certj.jar; D:/ColdFusion10/cfusion/lib/cf-acrobat.jar; D:/ColdFusion10/cfusion/lib/cf-assembler.jar; D:/ColdFusion10/cfusion/lib/cf-logging.jar; D:/ColdFusion10/cfusion/lib/cf4was.jar; D:/ColdFusion10/cfusion/lib/cf4was_ae.jar; D:/ColdFusion10/cfusion/lib/cfusion-req.jar; D:/ColdFusion10/cfusion/lib/cfusion.jar; D:/ColdFusion10/cfusion/lib/chart.jar; D:/ColdFusion10/cfusion/lib/clibwrapper_jiio.jar; D:/ColdFusion10/cfusion/lib/commons-beanutils-1.8.0.jar; D:/ColdFusion10/cfusion/lib/commons-codec-1.3.jar; D:/ColdFusion10/cfusion/lib/commons-collections-3.2.1.jar; D:/ColdFusion10/cfusion/lib/commons-compress-1.0.jar; D:/ColdFusion10/cfusion/lib/commons-digester-2.0.jar; D:/ColdFusion10/cfusion/lib/commons-discovery-0.4.jar; D:/ColdFusion10/cfusion/lib/commons-httpclient-3.1.jar; D:/ColdFusion10/cfusion/lib/commons-lang-2.4.jar; D:/ColdFusion10/cfusion/lib/commons-logging-1.1.1.jar; D:/ColdFusion10/cfusion/lib/commons-logging-api-1.1.1.jar; D:/ColdFusion10/cfusion/lib/commons-net-3.0.1.jar; D:/ColdFusion10/cfusion/lib/commons-vfs2-2.0.jar; D:/ColdFusion10/cfusion/lib/crystal.jar; D:/ColdFusion10/cfusion/lib/derby.jar; D:/ColdFusion10/cfusion/lib/derbyclient.jar; D:/ColdFusion10/cfusion/lib/derbynet.jar; D:/ColdFusion10/cfusion/lib/derbyrun.jar; D:/ColdFusion10/cfusion/lib/derbytools.jar; D:/ColdFusion10/cfusion/lib/dom4j-1.6.1.jar; D:/ColdFusion10/cfusion/lib/dpHibernate.jar; D:/ColdFusion10/cfusion/lib/ehcache-core-2.5.1.jar; D:/ColdFusion10/cfusion/lib/ehcache-web-2.0.4.jar; D:/ColdFusion10/cfusion/lib/esapi-2.0.1.jar; D:/ColdFusion10/cfusion/lib/EWSAPI-1.1.5.jar; D:/ColdFusion10/cfusion/lib/FCSj.jar; D:/ColdFusion10/cfusion/lib/flashgateway.jar; D:/ColdFusion10/cfusion/lib/flex-messaging-common.jar; D:/ColdFusion10/cfusion/lib/flex-messaging-core.jar; D:/ColdFusion10/cfusion/lib/flex-messaging-opt.jar; D:/ColdFusion10/cfusion/lib/flex-messaging-proxy.jar; D:/ColdFusion10/cfusion/lib/flex-messaging-remoting.jar; D:/ColdFusion10/cfusion/lib/flex-rds-server.jar; D:/ColdFusion10/cfusion/lib/geronimo-stax-api_1.0_spec-1.0.1.jar; D:/ColdFusion10/cfusion/lib/hibernate3.jar; D:/ColdFusion10/cfusion/lib/httpclient-4.1.1.jar; D:/ColdFusion10/cfusion/lib/httpclient-cache-4.1.1.jar; D:/ColdFusion10/cfusion/lib/httpclient.jar; D:/ColdFusion10/cfusion/lib/httpcore_4.1.2.jar; D:/ColdFusion10/cfusion/lib/httpmime-4.1.1.jar; D:/ColdFusion10/cfusion/lib/ib6addonpatch.jar; D:/ColdFusion10/cfusion/lib/ib6core.jar; D:/ColdFusion10/cfusion/lib/ib6http.jar; D:/ColdFusion10/cfusion/lib/ib6swing.jar; D:/ColdFusion10/cfusion/lib/ib6util.jar; D:/ColdFusion10/cfusion/lib/im.jar; D:/ColdFusion10/cfusion/lib/iText.jar; D:/ColdFusion10/cfusion/lib/iTextAsian.jar; D:/ColdFusion10/cfusion/lib/izmado.jar; D:/ColdFusion10/cfusion/lib/jai_codec.jar; D:/ColdFusion10/cfusion/lib/jai_core.jar; D:/ColdFusion10/cfusion/lib/jai_imageio.jar; D:/ColdFusion10/cfusion/lib/jakarta-oro-2.0.6.jar; D:/ColdFusion10/cfusion/lib/jakarta-slide-webdavlib-2.1.jar; D:/ColdFusion10/cfusion/lib/java-xmlbuilder-0.4.jar; D:/ColdFusion10/cfusion/lib/javasysmon-0.3.3.jar; D:/ColdFusion10/cfusion/lib/jax-qname.jar; D:/ColdFusion10/cfusion/lib/jaxb-api.jar; D:/ColdFusion10/cfusion/lib/jaxb-impl.jar; D:/ColdFusion10/cfusion/lib/jaxb-libs.jar; D:/ColdFusion10/cfusion/lib/jaxb-xjc.jar; D:/ColdFusion10/cfusion/lib/jaxrpc.jar; D:/ColdFusion10/cfusion/lib/jcifs-1.3.15.jar; D:/ColdFusion10/cfusion/lib/jdom.jar; D:/ColdFusion10/cfusion/lib/jeb.jar; D:/ColdFusion10/cfusion/lib/jersey-core.jar; D:/ColdFusion10/cfusion/lib/jersey-server.jar; D:/ColdFusion10/cfusion/lib/jersey-servlet.jar; D:/ColdFusion10/cfusion/lib/jets3t-0.8.1.jar; D:/ColdFusion10/cfusion/lib/jetty-continuation-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jetty-http-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jetty-io-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jetty-security-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jetty-server-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jetty-servlet-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jetty-servlets-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jetty-util-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jetty-xml-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jintegra.jar; D:/ColdFusion10/cfusion/lib/jnbcore.jar; D:/ColdFusion10/cfusion/lib/jpedal.jar; D:/ColdFusion10/cfusion/lib/js.jar; D:/ColdFusion10/cfusion/lib/jsch-0.1.44m.jar; D:/ColdFusion10/cfusion/lib/jsr107cache.jar; D:/ColdFusion10/cfusion/lib/jsr311-api-1.1.1.jar; D:/ColdFusion10/cfusion/lib/jta.jar; D:/ColdFusion10/cfusion/lib/jutf7-0.9.0.jar; D:/ColdFusion10/cfusion/lib/ldap.jar; D:/ColdFusion10/cfusion/lib/ldapbp.jar; D:/ColdFusion10/cfusion/lib/log4j-1.2.15.jar; D:/ColdFusion10/cfusion/lib/lucene-analyzers-3.4.0.jar; D:/ColdFusion10/cfusion/lib/lucene-core-3.4.0.jar; D:/ColdFusion10/cfusion/lib/lucene-highlighter-3.4.0.jar; D:/ColdFusion10/cfusion/lib/lucene-memory-3.4.0.jar; D:/ColdFusion10/cfusion/lib/lucenedemo.jar; D:/ColdFusion10/cfusion/lib/macromedia_drivers.jar; D:/ColdFusion10/cfusion/lib/mail.jar; D:/ColdFusion10/cfusion/lib/metadata-extractor-2.4.0-beta-1.jar; D:/ColdFusion10/cfusion/lib/mlibwrapper_jai.jar; D:/ColdFusion10/cfusion/lib/msapps.jar; D:/ColdFusion10/cfusion/lib/mysql-connector-java-commercial-5.1.17-bin.jar; D:/ColdFusion10/cfusion/lib/namespace.jar; D:/ColdFusion10/cfusion/lib/nekohtml.jar; D:/ColdFusion10/cfusion/lib/netty-3.2.5.Final.jar; D:/ColdFusion10/cfusion/lib/ooxml-schemas.jar; D:/ColdFusion10/cfusion/lib/pdfencryption.jar; D:/ColdFusion10/cfusion/lib/poi-contrib.jar; D:/ColdFusion10/cfusion/lib/poi-ooxml-schemas.jar; D:/ColdFusion10/cfusion/lib/poi-ooxml.jar; D:/ColdFusion10/cfusion/lib/poi-scratchpad.jar; D:/ColdFusion10/cfusion/lib/poi.jar; D:/ColdFusion10/cfusion/lib/portlet_20.jar; D:/ColdFusion10/cfusion/lib/postgresql-8.3-604.jdbc3.jar; D:/ColdFusion10/cfusion/lib/quartz.jar; D:/ColdFusion10/cfusion/lib/relaxngDatatype.jar; D:/ColdFusion10/cfusion/lib/ri_generic.jar; D:/ColdFusion10/cfusion/lib/rome-cf.jar; D:/ColdFusion10/cfusion/lib/saaj.jar; D:/ColdFusion10/cfusion/lib/saxon9he.jar; D:/ColdFusion10/cfusion/lib/serializer.jar; D:/ColdFusion10/cfusion/lib/slf4j-api-1.5.6.jar; D:/ColdFusion10/cfusion/lib/slf4j-log4j12-1.5.6.jar; D:/ColdFusion10/cfusion/lib/smack.jar; D:/ColdFusion10/cfusion/lib/smpp.jar; D:/ColdFusion10/cfusion/lib/STComm.jar; D:/ColdFusion10/cfusion/lib/tagsoup-1.2.jar; D:/ColdFusion10/cfusion/lib/tika-core-0.6.jar; D:/ColdFusion10/cfusion/lib/tika-parsers-0.6.jar; D:/ColdFusion10/cfusion/lib/tools.jar; D:/ColdFusion10/cfusion/lib/tt-bytecode.jar; D:/ColdFusion10/cfusion/lib/wc50.jar; D:/ColdFusion10/cfusion/lib/webchartsJava2D.jar; D:/ColdFusion10/cfusion/lib/wsdl4j-1.6.2.jar; D:/ColdFusion10/cfusion/lib/wsrp4j-commons-0.5-SNAPSHOT.jar; D:/ColdFusion10/cfusion/lib/wsrp4j-producer.jar; D:/ColdFusion10/cfusion/lib/xalan.jar; D:/ColdFusion10/cfusion/lib/xercesImpl.jar; D:/ColdFusion10/cfusion/lib/xml-apis.jar; D:/ColdFusion10/cfusion/lib/xmlbeans-2.3.0.jar; D:/ColdFusion10/cfusion/lib/xmpcore.jar; D:/ColdFusion10/cfusion/lib/xsdlib.jar; D:/ColdFusion10/cfusion/lib/; D:/ColdFusion10/cfusion/lib/axis2/axiom-api-1.2.13.jar; D:/ColdFusion10/cfusion/lib/axis2/axiom-dom-1.2.13.jar; D:/ColdFusion10/cfusion/lib/axis2/axiom-impl-1.2.13.jar; D:/ColdFusion10/cfusion/lib/axis2/axis2-adb-1.7.0.jar; D:/ColdFusion10/cfusion/lib/axis2/axis2-adb-codegen-1.7.0.jar; D:/ColdFusion10/cfusion/lib/axis2/axis2-codegen-1.7.0.jar; D:/ColdFusion10/cfusion/lib/axis2/axis2-jaxws-1.7.0.jar; D:/ColdFusion10/cfusion/lib/axis2/axis2-kernel-1.7.0.jar; D:/ColdFusion10/cfusion/lib/axis2/axis2-transport-http-1.7.0.jar; D:/ColdFusion10/cfusion/lib/axis2/axis2-transport-local-1.7.0.jar; D:/ColdFusion10/cfusion/lib/axis2/commons-fileupload-1.2.jar; D:/ColdFusion10/cfusion/lib/axis2/commons-io-1.4.jar; D:/ColdFusion10/cfusion/lib/axis2/geronimo-ws-metadata_2.0_spec-1.1.2.jar; D:/ColdFusion10/cfusion/lib/axis2/httpcore-4.0.jar; D:/ColdFusion10/cfusion/lib/axis2/neethi-3.0.2.jar; D:/ColdFusion10/cfusion/lib/axis2/woden-api-1.0.jar; D:/ColdFusion10/cfusion/lib/axis2/woden-impl-commons-1.0.jar; D:/ColdFusion10/cfusion/lib/axis2/woden-impl-dom-1.0.jar; D:/ColdFusion10/cfusion/lib/axis2/wsdl4j-1.6.2.jar; D:/ColdFusion10/cfusion/lib/axis2/wstx-asl-3.2.9.jar; D:/ColdFusion10/cfusion/lib/axis2/XmlSchema-1.4.8.jar; D:/ColdFusion10/cfusion/lib/axis2/; D:/ColdFusion10/cfusion/gateway/lib/examples.jar; D:/ColdFusion10/cfusion/gateway/lib/; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/flex/jars/cfgatewayadapter.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/flex/jars/concurrent.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/flex/jars/; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/batik-awt-util.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/batik-css.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/batik-ext.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/batik-transcoder.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/batik-util.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/commons-discovery.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/commons-logging.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/concurrent.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/flex.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/jakarta-oro-2.0.7.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/jcert.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/jnet.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/jsse.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/oscache.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/;
Java Class Path D:\\ColdFusion10\\cfusion\lib\oosdk\lib;
D:\\ColdFusion10\\cfusion\lib\oosdk\classes;
D:\ColdFusion10\cfusion\bin\..\runtime\bin\tomcat-juli.jar;
D:\ColdFusion10\cfusion\bin\cf-bootstrap.jar
Java Ext Dirs D:\ColdFusion10\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
Printer Details
Default Printer
Printers
Server Information
General Settings
Timeout requests Yes
Enable Per App Settings Yes
Request Time Limit 120 seconds
Use UUID for CFToken Yes
Disable Service Factory No
Protect serialized JSON No
Protect Serialized JSON Prefix //
Missing Template Handler /404b.cfm
Site-wide Error Handler /errorCatch.cfm
Enable HTTP status codes Yes
Enable Global Script Protection Yes
ORMSearch Index Directory
Default CFForm ScriptSrc Directory /CFIDE/scripts/
Google Map Key
Maximum size of post data 100 MB
Request Throttle Threshold 4 MB
Request Throttle Memory 200 MB
Request Tuning
Simultaneous request limit 20
Flash Remoting request limit 5
Web Service request limit 20
CFC request limit 20
CFThread Pool Size 10
Maximum number of report threads 8
Request Queue Timeout 120 seconds
Request Queue Timeout Page
Caching
Template cache size 150 templates
Enable trusted cache No
Cached query limit 500
Save Class Files Yes
Client Variable Settings
Default client variable store ecom
Purge Interval 1 hours 7 minutes
Client Stores
Registry
Type REGISTRY
Description System registry.
Purge data after time limit Yes
Time limit 90 days
Disable global updates No
ecom
Type JDBC
Description
Purge data after time limit No
Time limit 2 days
Disable global updates Yes
Cookie
Type COOKIE
Description Client based text file.
Purge data after time limit Yes
Time limit 10 days
Disable global updates No
Memory Variables
J2EE Sessions No
Application Variables
Enable Application Variables Yes
Default Timeout 2,0,0,0
Maximum Timeout 2,0,0,0
Session Variables
Enable session variables Yes
Default Timeout 0,0,20,0
Maximum Timeout 2,0,0,0
ColdFusion Mappings
/gateway D:\ColdFusion10\cfusion\gateway\cfc
/CFIDE D:\ColdFusion10\cfusion\wwwroot\CFIDE
Mail Connection Settings
Default Server Port 25
Connection Timeout 60 seconds
Spool Interval 30 seconds
Mail Delivery Threads 10
Maintain Connection to Mail Server Yes
Spool Messages To disk
Max Messages Spooled to Memory 50000
Default CFMail Charset UTF-8
Use SSL Connection No
Use TLS No
Default Mail Server
smtp.example.com
Server smtp.example.com
Port 25
Username
Password
Backup Mail Servers
smtp-backup.example.com
Server smtp-backup.example.com
Port 25
Username
Password
Mail Logging Settings
Log Severity warning
Log all E-mail messages sent by ColdFusion Yes
Charting
Cache Type disk images
Maximum number of images in cache 50 images
Maximum number of charting threads 4
Disk cache location D:\ColdFusion10\cfusion\charting\cache
Data & Services
Database Data Sources
GES
CF data source name GES
Description
Driver MSSQLServer
JDBC URL jdbc:macromedia:sqlserver://MSSQL:1433;databaseName=GES;SelectMethod=direct;sendStringPar ametersAsUnicode=false;querytimeout=0;MaxPooledStatements=100
Username sa
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
cfcodeexplorer
CF data source name cfcodeexplorer
Description
Driver Apache Derby Embedded
JDBC URL jdbc:derby:D:\ColdFusion10\cfusion\db\cfcodeexplorer;create=false
Username
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
ecom
CF data source name ecom
Description
Driver
JDBC URL jdbc:macromedia:oracle://10.10.120.13:1521;serviceName=ecom;alternateServers=(10.10.120.1 4:1521);loadBalancing=true
Username user
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
cfbookclub
CF data source name cfbookclub
Description
Driver Apache Derby Embedded
JDBC URL jdbc:derby:D:\ColdFusion10\cfusion\db\bookclub;create=false
Username
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
ecomd
CF data source name ecomd
Description
Driver Oracle
JDBC URL jdbc:macromedia:oracle://ORACLE:1521;SID=ecomd;AuthenticationMethod=userIDPassword;sendSt ringParametersAsUnicode=false;querytimeout=0;MaxPooledStatements=100
Username ges
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
GES_New
CF data source name GES
Description
Driver MSSQLServer
JDBC URL jdbc:macromedia:sqlserver://MSSQL\MSSQL:1433;databaseName=GES;SelectMethod=direct;sendStr ingParametersAsUnicode=false;querytimeout=0;MaxPooledStatements=100
Username user
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
E1_Oracle
CF data source name E1
Description
Driver Oracle
JDBC URL jdbc:macromedia:oracle://ORACLE:1516;SID=E1;AuthenticationMethod=userIDPassword;sendStrin gParametersAsUnicode=false;querytimeout=0;MaxPooledStatements=100
Username user
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
cfdocexamples
CF data source name cfdocexamples
Description
Driver Apache Derby Embedded
JDBC URL jdbc:derby:D:\ColdFusion10\cfusion\db\cfdocexamples;create=false
Username
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
cfartgallery
CF data source name cfartgallery
Description
Driver Apache Derby Embedded
JDBC URL jdbc:derby:D:\ColdFusion10\cfusion\db\artgallery;create=false
Username
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
Web Services
Debugging & Logging
Debugging Settings
Enable debugging No
Enable Robust Exception Information No
Display format classic.cfm
Execution times Yes
Execution time format summary
Execution time highlight threshold 250 ms
Database activity Yes
Exception information Yes
Tracing information Yes
Timer Information No
Variables Yes
Variables
Application Yes
CGI Yes
Client Yes
Cookie Yes
Form Yes
Request Yes
Server No
Session No
URL Yes
Debugging IP Addresses
Debugging IP Address Restrictions
Line Debugger Settings
Allow Line Debugging NO
Debugger Port 5005
Max Simultaneous Debugging Sessions 5
Logging Settings
Log directory D:\ColdFusion10\cfusion\logs
Maximum file size 5000 KB
Maximum number of archives 10
Log slow pages Yes
Slow page time limit 60 seconds
Log CORBA calls No
Log scheduled tasks No
Schedule Tasks & Probes
Scheduled Tasks
Auto Replenish Notify S9 Order Min Levels Reached
Start Date 9/2/2014
End Date
Interval Daily
Start Time 2:05:00 AM
URL http://server1.example.com/index.cfm?fuseaction=rfid.SendReplenishEmails
Username
Timeout
Proxy Server
Proxy Port 80
Save output to file No
Publish path
Publish filename
Resolve URLs No
Auto Replenish Notify Customer Badge Replenishment
Start Date 9/2/2014
End Date
Interval Daily
Start Time 2:00:00 AM
URL http://server1.example.com/uri1/act_notifyUserBadge.cfm
Username
Timeout
Proxy Server
Proxy Port 80
Save output to file No
Publish path
Publish filename
Resolve URLs No
Auto Replenish
Start Date 9/2/2014
End Date
Interval Daily
Start Time 2:10:00 AM
URL http://server1.example.com/uri1/uri2/uri3/Replenish2.cfm
Username
Timeout
Proxy Server
Proxy Port 80
Save output to file No
Publish path
Publish filename
Resolve URLs No
Contact Updates and Registrations
Start Date 9/2/2014
End Date
Interval 65
Start Time 12:05:00 AM
URL http://server1.example.com/index.cfm?fuseaction=intCRM.sendCRMObjects
Username
Timeout
Proxy Server
Proxy Port 80
Save output to file No
Publish path
Publish filename
Resolve URLs No
System Probes
Extensions
Java Applets
CFX Tags
cfx_xml2cfx
Tag name cfx_xml2cfx
Description
Type CPP
Server library c:\cfusion8\cfx\xml2cfx\cfx_xml2cfx.dll
Keep library loaded true
Procedure ProcessTagRequest
cfx_encrypt_aes
Tag name cfx_encrypt_aes
Description DB encryption library
Type CPP
Server library C:\cfusion8\cfx\aes\cfx_encrypt_aes.dll
Keep library loaded true
Procedure ProcessTagRequest
cfx_exec
Tag name cfx_exec
Description
Type CPP
Server library c:\CFusion8\cfx\exec\cfx_exec.dll
Keep library loaded true
Procedure ProcessTagRequest
Custom Tag Paths
D:\web\app1\app2\app3\activedit3
D:\ColdFusion10\cfusion/CustomTags
D:\ColdFusion8\CustomTags
CORBA
Selected connector [ none]
Connectors
Event Gateways
Settings
Enable Event Gateway Yes
Thread Pool Size 10
Max Queue Size 25000
Gateway Types
SMS
Description Handles SMS text messaging
Class coldfusion.eventgateway.sms.SMSGateway
Timeout 30 seconds
Kill On Timeout Yes
XMPP
Description Handles XMPP instant messaging
Class coldfusion.eventgateway.im.XMPPGateway
Timeout 30 seconds
Kill On Timeout Yes
SAMETIME
Description Handles Lotus SAMETIME instant messaging
Class coldfusion.eventgateway.im.SAMETIMEGateway
Timeout 30 seconds
Kill On Timeout Yes
DirectoryWatcher
Description Watches a directory for file changes
Class examples.watcher.DirectoryWatcherGateway
Timeout 30 seconds
Kill On Timeout Yes
Socket
Description Listens on a socket
Class examples.socket.SocketGateway
Timeout 30 seconds
Kill On Timeout Yes
CFML
Description Handles asynchronous events through CFCs
Class coldfusion.eventgateway.cfml.CfmlGateway
Timeout 30 seconds
Kill On Timeout Yes
JMS
Description Handles Java Messaging Service messages
Class examples.JMS.JMSGateway
Timeout 30 seconds
Kill On Timeout Yes
ActiveMQ
Description Handles Apache ActiveMQ JMS messages
Class examples.ActiveMQ.JMSGateway
Timeout 30 seconds
Kill On Timeout Yes
DataServicesMessaging
Description Handles Data Services Messaging messages
Class coldfusion.eventgateway.flex.FlexMessagingGateway
Timeout 30 seconds
Kill On Timeout No
FMS
Description Handles Flash Media Server shared objects
Class coldfusion.eventgateway.fms.FMSGateway
Timeout 30 seconds
Kill On Timeout Yes
DataManagement
Description Notifies Data Management Services of data changes
Class coldfusion.eventgateway.flex.FlexDataManagementGateway
Timeout 30 seconds
Kill On Timeout Yes
Security
CF Admin Authentication
Enable authentication for the ColdFusion Administrator Yes
Allow access to ColdFusion Administrator with a Single password No
RDS Authentication
Enable authentication for RDS access Yes
Allow access through RDS with Single password Yes
Security Sandboxes
Enable ColdFusion Security No
jvm.config
# VM configuration
# Where to find JVM, if {java.home}/jre exists then that JVM is used
# if not then it must be the path to the JRE itself
java.home=D:\\ColdFusion10\\jre
application.home=D:\\ColdFusion10\\cfusion
# If no java.home is specified a VM is located by looking in these places in this
# order:
# 1) ../runtime/jre
# 2) registry (windows only)
# 3) JAVA_HOME env var plus jre (ie $JAVA_HOME/jre)
# 4) java.exe in path
# Arguments to VM
java.args=-server -Xms768m -Xmx1280m -XX:MaxPermSize=192m -XX:+UseParallelGC -Xbatch -Dcoldfusion.home={application.home} -Dcoldfusion.rootDir={application.home} -Dcoldfusion.libPath={application.home}/lib -Dorg.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER=true -Dcoldfusion.jsafe.defaultalgo=FIPS186Random -Dges.config.serverEnvironment=prod2 -Dges.config.webServerHostName=server1.example.com -Dcom.sun.management.jmxremote.port=8880 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcoldfusion.classPath={application.home}/lib/updates,{application.home}/lib,{application .home}/lib/axis2,{application.home}/gateway/lib/,{application.home}/wwwroot/WEB-INF/flex/j ars,{application.home}/wwwroot/WEB-INF/cfform/jars
# Comma separated list of shared library path
java.library.path={application.home}/lib,{application.home}/jintegra/bin,{application.home }/jintegra/bin/international,{application.home}/lib/oosdk/classes/win
java.class.path={application.home}/lib/oosdk/lib,{application.home}/lib/oosdk/classes -
Memory leak when transferring files Lion
hi all, help I'm experiencing a memory leak since upgrading to Lion when transferring shared files between my macbook pro and imac. This occures through ethernet (wireless/wired) and firewire 800. No other apps are open except activity montior and finder. I am trying to transfer about 100g of itunes music / video files and pictures. Time machine backups to my TC do not have this affect.
When transfer starts the free memory slowly decreases whilst the inactive memory increases. Eventually the free memory drops below 10mg, active memory is approx 5-6gb and wired/active is about 2gb. Bascially as the free memory decreases the inactive memory increases however does not get realocated so the mac grinds to a halt and dies with lots of page outs etc.
this only happens when trying to transfer files. I have tried whole folders and just small individual ones and noticed the same event. I am struggling to find the cuase of the problem - any ideas?
mac os x 10.7.1
processor 2.53 GHz Intel Core i5
Memory 8 GB 1067 MHz DDR3
cheers, KevinI dont think you have a memory leak. I think the problem is the xml file is 1000000 records long and takes up too much memory. Even if you find a way to increase memory size, you are loading down the server too much for other people's applications to run. I suggest instead reading up on xml and learning how to read in only a few records at a time, processing it, and getting the next set of records to process. There are two methods to parse an xml file using an xml parser, one is to parse it all and put it in memory, the other is to process one record at a time (an xml book explains it better).
However, I question why you have reports that are 1000000 records long. end-users cannot effectively use such records (you cant scroll through 1000000 records). I suggest finding a way to greatly decrease the number of records in each file such as by providing just the records a particular user needs to do his job and not all records. For instance, put a textfield on his screen to let him only fetch records within a certain date range.
Lastly, I suggest putting your code in a try/catch/finally block where the finally block actually closes the objects. Example:
finally{
if(conn!=null)
conn.close();
} -
Why do I get Memory Leaks in case 1, but not in case 2?
I recently investigated into memory leaks, since we got some when a Window is opened/closed several times.
I discovered the following behavior with ListView:
If I make several instances of a Window, which contains a ListView which uses a fix list as items, there are leaks. (Case 1)
If I make several instances of the ListView directly there are no leaks. (Case 2).
For me both cases seems equal, there's just another wrapper (the window) around the ListView in case 1.
Can someone explain what's going on?
import javafx.application.Application;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.scene.Scene;
import javafx.scene.control.ListView;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
public class TestApp3 extends Application {
public static void main(String[] args) throws Exception {
launch(args);
ObservableList<String> items = FXCollections.observableArrayList("Item1", "Item2");
public void start(final Stage stage) throws Exception {
VBox root = new VBox();
for (int i = 0; i < 100; i++) {
SubStage subStage = new SubStage(); // Case 1
subStage.show();
subStage.hide();
// ListView<String> listView = new ListView<String>(); // Case 2
// listView.setItems(items);
System.gc();
System.out.println((Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory()) / 1024 + " KB");
Scene scene = new Scene(root);
stage.setScene(scene);
stage.show();
private class SubStage extends Stage {
public SubStage() {
ListView<String> listView = new ListView<String>();
listView.setItems(items);
Scene scene = new Scene(listView);
setScene(scene);
}EDIT: If I use a TableView in the Substage, there are NO leaks. So is this an issue of the ListView?
Edited by: csh on 10.09.2012 07:40There is file activity if Open Config Data.vi is being called. The error is just due to not being able to find the configuration/.ini file. Root cause could be a few things: the INI file was deleted/not moved/invalid path/whatever. And the "create file if necessary" input to your use of Open Config Data.vi must be set to False for whatever reason.
Side note:
There were a couple changes to the Config VI's between v6 and v7.
If you were relying on using the default FALSE in Close Config Data.vi in LV6.1, you have to change your code.
From LV7 Upgrade Notes:
<snip>
• The configuration file path input of the Open Config Data VI is a required input. You must specify the configuration file path even if you open a reference to a configuration data object.
• The default of the write configuration file? input of the Close Config Data VI is TRUE. In LabVIEW 6.1 and earlier, the default is FALSE.
<snip>
=====================================================
Fading out. " ... J. Arthur Rank on gong."
Attachments:
OpenConfigData_v7Help.jpg 19 KB -
Firefox memory leak, how to fix?
I've noticed i've been having memory leaks since quite a few versions before the latest one (33.1.1) and the problem still continues, i notice this more when i leave firefox open for awhile, sometimes only with youtube and couple of other "static" pages on, but i've got the same results without youtube.
Today i decided to ask the question, since i haven't seen any memory leak bugfixes in the recent changelogs and it becomes quite a problem to me because i leave it all day open and when it happens it forces me to restart (not really forces but i don't like having an 1.3GB process when i can have the same for 500~ ...)
I don't believe any of my extras are the reason for it, i've tested them over the pass'ed versions, removed a few, installed a few, always same problem.
All of this running WIndows 7 Ultimate 64-bits .
i've researched and found it's a "common" problem, but no really solution or expected bugfix soon or anything, i'm still to test it without any 3rd part extensions or plugins, but i don't (think) have any extensions that may cause this because like i said, i've changed them quite a few times.
Here is my extension list: http://i.imgur.com/Rk80ajU.png
Here is my plugin list: http://i.imgur.com/GBA0qgY.png
And here is a "Measure" report from "about:memory" : http://privatepaste.com/bcd17c1093
I just want to know why it leaks so badly, almost the double RAM it would normally use.
Currently i'm like 3 tabs with 1.25 GB (Private Set) used, when i close a few tabs, it keeps stable or even rising by a few mb.
I hope there's something useful with that report/my extensions|plugins.
Thanks for the reading.I heard about that extension "problem" but, when i see on "about:addons-memory" from a third-party extension (that i can't remember but yo can see it in the link on OP, it only uses few megabytes (20~) , so, either it's a memory leak on the extension (if that's really the cause) a problem with my addon to view the extensions memory or a firefox one.
But i seriously don't expect that extension eats up all of this memory, but i will test it in a couple of days. -
Yosemite and mail - BIG problems with memory leak
Our small company has had significant problems since upgrading (?) to Yosemite, which by all we could glean from Apple would be a relatively bug free install. At random times, usually while composing an e-mail, the mail program will just spike in memory consumption, going from a couple hundred Mb of RAM consumption to over 70 Gb in just 3-5 minutes. This obviously causes the entire machine to come to a standstill and the mail process needs to be killed. A cascading problem is that when this happens any other programs will also become non-responsive, and they also will need to be killed, often at the loss of work. I've talked with the support people at Apple and disappointingly they seem to be unaware that this is an issue, or more likely they are aware of it (I mean, just do a search of "Yosemite mail memory" and see what you get) and want to downplay that the release has been a HUGE failure for MANY people. After about 20 of these application memory events since upgrading over this past weekend at our company I would like to see where Apple is on fixing this. BTW Apple, your user base is fairly sophisticated with computing, and having your online assistants continue to try and point the problem at the users - who are all having the EXACT SAME ISSUE - is alienating your user base. I've been using Apple for over 20 years and this is the worst release you've ever had. I think you're well on your way to becoming Microsoft in 1994, we need the old Apple company back.
I have the same problem and after a few days I am thinking seriously about abandoning Apple mail and .... going back to Outlook, I do not like MS, but may not have another option. Any suggestions.
I am amazed that Apple does not give any information about the problem. It does look like they are loosing their touch and appear to be following the Microsoft and Blackberry path.
Within a small company like mine, another few days of this and it will be impossible to keep it.
Hate to say it, but for the first timewith Apple I miss the old OS, it did not look as good but at least it worked.. -
If I do the following code to clear vector:
V.removeAllElements
Does it clean up all memory allocated by theclass
contained in the vector also?
The basic principle for garbage collection is that
when an object can no longer be reached fromanywhere
in the program it will be garbage collected. Ifthis
is true for an object after the V.removeAllElements
call, that object will be garbage collected.
Circular references don't change anything. When a
whole bunch of interwoven objects can no longer be
reached, all of them will be eligible for garbage
collection. Pointing at each other wont help them-:)
Yes, simple enough rule untill one of the Objects
happens to be an instance of Class.
If indeed the object happens to be an instance of Class, and if we only run vector.removeallelement, would this cause memory leak since all objects within the class was not set to null?No. The fact that things within the class are not set to null should not matter. Since there is no longer a reference to the objects from the reference pool, they are eligible for gc.
-
Since the itunes 10.4.1 update I have memory leaks problems.
Since the itunes 10.4.1 update I have memory leaks problems, Itunes used memory start at about 100 megs as usual but when it play the ram usage climb about 4 kb per second ( one time I had itunes using 690 megs !). I had to periodically close and restart Itunes to clear the memory.
Someone has suggestion to resolve this problem?Same issue, Running Windows 7 x64 with 6 Gigs of RAM and have iTunes 10.4.1 32bit version.
I wanted to break in some headphones over the weekend, so left it playing a loop of songs. Came back on Monday to see my machine using a huge amount of RAM and iTunes just froze.
Here is a shot of my Task Manager showing iTunes was using 1.5gigs of Memory. -
Memory Leak in Report after upgrading from Crystal Reports 10.5 to 13.0.1/2
I'm currently having an issue with crystal reports 13 (Visual Studio 2010), We have recently updated our CRM Solution to use the newer crystal reports runtime as we are now using Visual Studio 2010,
We have a client who has a report which contains a sub report which basically contains a Image pulled from a MSSQL Database as a BLOB Image Field which is basically scanned images relating to the report, Previously the report worked fine before the Client Updated our CRM Solution to the latest version, Now for each individual page which has the scanned image the application is swallowing 100 MB of ram, as there are around 32 of these scanned images and our solution is a 32 bit application we are getting out of memory errors due to the whole 2GB addressable to a 32 bit process limitation,
The images are around 4MP and stored in JPG format in the database so should not be consuming over 100mb of ram per image displayed by the report even if they are being stored uncompressed in RGBA Format,
Likewise when viewing the pages of the report manually after a specific page (when the amount of memory addressable by a 32 bit application gets hit) the images just don't display and then any pages with the image are not being displayed and not giving an error / exception.
I have tried re-saving the .rpt files to cause them to be in the newer crystal reports format and this is still happening, likewise I have tried un-installing the 13.0.1 and installing the 13.0.2 runtime.
I am just about to check SQL which pulls the image for the sub report, although I am sure for each sub report it should only be pulling one row with one jpeg image in case the sub report is holding quite a few images but only displaying the first.
Likewise If all else fails I will try re-creating the report as I have experienced issues with some other specific reports doing strange things after being updated from the 2008 runtime which I really am not liking the idea of due to how fiddly crystal reports can be, It is good and does the job but takes far longer than some other solutions to get what you are trying to achieve done.
This report had been working fine for 2+ years before the client updated to the most recent version of our CRM Software.
Has anyone else experienced simular issues with the latest runtime.I have just been reviewing the code for this and it appears that the sub report is pulling all of the images,
It is strange that previously this was working fine seems like the newer runtime does not dispose of the data once it has been displayed on a sub report which would explain memory leak as it will call the select again pulling approx 60 images which are probably approx 8 - 900KB plus sub report + uncompressed image to display and then filtering.
I am about to modify this report and will post if fix i put in place resolves the issue. -
OBVIOUS MEMORY LEAK
iTunes about:10.6.3.25
windows 64 bit Home on AMD64 HP G60 laptop
downloaded and installed "iTunes32Setup.exe"
saw the problem and uninstalled it
downloaded and installed "iTunes64Setup.exe"
iTunes about:10.6.3.25
now i see process "iTunes.exe*32
it is ok when it play song list
but ***** UP MEMORY when i click on another song to play. apparently it doesn't release previous player thread
OR,
if you right click on a song, the memory will blow up antother 6MB and won't release it...can do it all day long
-- until run out of memory and iTunes freezes...without any of my changes.
sooooo.. is it the uninstaller or is iTunes64Setup.exe mispackaged or do both have memory problems on AMD 64 ?Unfortunately I was able to repeat the memory leak even with turning the Toolbar off. To replicate the problem, I was able to watch the memory leak each time I actively selected a new song with the iTunes open. I was able to repeat the leak with and without both Spotify and TuneUp Companion running and not running. The only thing I noticed is when both Spotify and iTunes were open, the memory leak from iTunes added insult to injure with Spotify which kept trying to sync up with iTunes local library which would crash Spotify as well. But I can confirm the memory leak is in iTunes 10.6.3.25 (looking forward to 10.6.4 fixing the problem).
-
How do I report a major memory leak problem with Firefox 3.6.10 in WinXP?
After I installed Firefox 3.6.9 on a WinXP desktop, I occasionally had minor memory leak problems, reflected by getting "out of virtual memory" messages. I upgraded to 3.6.10 when notified that it was available and that it supposedly fixed stability problems. Ever since then, whenever I use Firefox, it starts out quick as a flash, but very rapidly slows down to a crawl, and has twice brought my system to a halt. IE does not cause this, nor any other program I use, but the execution speed of all programs slows as badly as Firefox. If I knew where to get older versions, I would back up to 3.6.9 or earlier. The situation now prevents me from using Firefox much at all.
Im running windows 7, Firefox 3.6.10 and before i updated to 3.6.10 my CPU never went above 10% with Firefox open. Now it can spike well above 50% and i have nothing different from when i had 3.6.9 to now when i have 3.6.10.
There is no evidence for me to suggest one of the additions i have is causing it, its all pointing to Firefox itself and the last update. -
HTTPService + XML Load + Memory Leak
Hi all....
I have noticed a memory leak in my application. This leak was
not apparent when the application was completed some months back
which is what left me a little confused as all I have done since
was upgrade to Flex 3 and possibly updated / changed my Flash
player.
I think I have found the cause to this problem (below) but am
not 100% sure that it is the "actual" problem or any reasons to
back my thoughts up, so have listed what I have checked / tried
along the way (maybe I have missed something)....
My Discovery Process:
I started profiling my application but did not find anything
out of the ordinary. I did a code walk-through double checking I
had cleaned up after myself, removing and even nulling all items
etc but still to now success - the leak is still there.
I have profiled the app in the profiler for reasonably long
periods of time.
All the classes etc being used within the app are consistent
in size and instance amount and there is no sign of any apparent
leak.
I am using a HTTPService that is loading XML data which I am
refreshing every 5 seconds. On this 5 second data refresh some
class instances are incremented but are restored to the expected
amount after a GC has occurred. The GC seems to take longer, the
longer the app is running, therefore more and more instances are
being added to the app, but when the GC eventually runs it "seems"
to clear these instances to the expected amount.
After scratching my head for a while I decided to make a copy
of my application, rip everything out, and focus in my data load,
where I found a problem!
I have now just a HTTPService that loads an XML file every 5
seconds, and this is all I currently have in the app (as I ripped
the rest of the code out), e.g:
Code:
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
....... creationComplete="initApp()" >
<mx:HTTPService
id="httpServiceResults"
url="
http://myIP:myPort/myRoot/myXML.cfm"
resultFormat="e4x"
result="httpResultHandler(event)" />
<script....... >
private var timerPulse:Timer;
private function initApp():void
httpServiceResults.send();
timerPulse = new Timer(5000, 0);
private function httpResultHandler(event:ResultEvent):void
timerPulse.start();
timerPulse.addEventListener(TimerEvent.TIMER, timerRefresh);
public function timerRefresh(eventObj:TimerEvent):void
timerPulse.stop();
timerPulse.removeEventListener(TimerEvent.TIMER,
timerRefresh);
timerPulse.reset();
httpServiceResults.send();
</script>
</mx:Application>
This is pretty much the code I am currently using and it
leaks.
I ran and monitored this in both the profiler and the
activity / task manager, and after running the app for 1800 seconds
(30 min) in the profiler, the memory size grew from 50mg to 165mg
just sending the HTTPService.
I tried loading the service in multiple ways including in AS
rather than MXML creating new instances of it each time, resetting
it, nulling it etc... but nothing prevented this memory increase.
I then tried to load the XML using different methods such as
using the URLRequest and URLLoader which again caused a memory
leak.
What still confuses me is that this leak did not exist in the
previous version and not a great deal has changed since then apart
from upgrading to Flex 3 and possibly upgrading my Flash payer
(which I believe is a possible cause)
After looking into this issue a bit more deeply, I read a few
blogs / forums and other people are experiencing the same problems
- even with a lot bigger leaks in some cases all when reloading
large sets of XML data into Flex - however, I as of yet found no
solution to this leak - people with a similar problem believe it is
not due to a memory leak more a GC error, and others pointing
towards the Flash Player itself that is leaking - I don't really
know.
Findings so far during investigation of this issue:
* App leaks for both HTTPService and ULRRequest / URLLoader
methods
* App only leaks when calling a data loader
* The size of the leak seems to depend on the size of the
XML being loaded
* The size of the leak also seems to be affected by the
applications heaviness - the greater seems to enhance the leak
An interesting factor I have noticed is that if I copy the
XML from my "myXML.cfm" that I link to in my HTTPService and copy
the contents of the file into my own XML file stored within the
Flex project root itself: ""myXML.xml"" the leak disappears... like
it seems to link when loading the XML over a network, however as my
network knowledge is not great I am not sure what to make of this -
any ideas???
Could the connection to the XML document cause leaks??? is
there anything else that could cause this leak??? have I something
in my code sample that could cause this leak??? or could any of the
other things I have mentioed cause this leak???
Any help / ideas would be greatly appreciated.
Thanks,
Jon.I also observed heavy memory leak from using httpservice with
XML data. I am using Flex3 builder under Linux. My Flex application
polls httpservice every 10 seconds. The reply is a short XML
message less than 100 bytes. This simple polling will consume 30+
MB of memory every hour. I leave it idling for several hours and it
took 200 MB of memory. No sign of garbage collection at all.
Maybe you are looking for
-
How do I get rid of the linked cards that have appeared in my contacts?
All on my contacts have now two linked cards at the bottom and I have no idea on how to stop this. Any help of how to resolve this would be appreciated Thanks
-
Error when import metadata form Oracle Olap (aw) to rpd
Hi all, When import Oracle OLAP analytic workspace to rpd user bi Admin tool, i get error: [nQSError: 77031] Error occurs while calling remote service AWImportService11G. Details: Error getting AW version -- IO error: The network Adapter could not es
-
Loading an external swf music player
Hello, my problem is that all the action script contained in the musicplayer.swf seems not to work when I load the whole musicplayer.swf in the main movie.what can I do to resolve this? here is the code:
-
Is there a way to adjust the pixel size/resolution of a picture in iPhoto?
Hi there! Long story long, I have downloaded a photo from a friend's not-so-great camera in order to make it into a blanket that is 50x60 in size. When I try to upload the picture, the website that I'mbuying it through says that in order for it to l
-
I cannot change the default value (3 days) to see on inbox emails older than three days. Any suggestion? many thanks paolo