Memory leak due to http-basic-authn ?
I reproduced the problem with the example/servlets/SessionServlet class. The http client (non-UI) creates session on every request and also passes in userid-password for http-basic authentication.
Please note that we do NOT configure any authentication in weblogic deployment descriptors.
With memory profiler OptimizeIt, I see the leak in the hashtable authUsers. The entry in the hashtable was created with:
weblogic.servlet.internal.HttpServer.setAuthUser().
The AuthenticatedUser object was created with:
weblogic.security.acl.ClusterRealm.certify().
It seems to me that Weblogic is trying to do the authentication by just see'ing userid-password in the Http headers. Even though when we want to do the authentication inside our application.
I have the profiler snapshot but I do not know how to send the attachment in this posting. Let me know if I can email it to some address.
Thanks
-Rakesh
I reproduced the problem with the example/servlets/SessionServlet class. The http client (non-UI) creates session on every request and also passes in userid-password for http-basic authentication.
Please note that we do NOT configure any authentication in weblogic deployment descriptors.
With memory profiler OptimizeIt, I see the leak in the hashtable authUsers. The entry in the hashtable was created with:
weblogic.servlet.internal.HttpServer.setAuthUser().
The AuthenticatedUser object was created with:
weblogic.security.acl.ClusterRealm.certify().
It seems to me that Weblogic is trying to do the authentication by just see'ing userid-password in the Http headers. Even though when we want to do the authentication inside our application.
I have the profiler snapshot but I do not know how to send the attachment in this posting. Let me know if I can email it to some address.
Thanks
-Rakesh
Similar Messages
-
Memory leak due high database operations
Our application is a network monitoring application , where we get lot of data from network every 2 minutes.
When we try process large amount data in our application we start seeing memory leak. But if we control data inflow rate , then our application works fine with no leak.
I am not able to profile our application with tools like Jprobe, as the profiler itself is running outofmemory even before I could reproduce the issue.
Mostly likely DB is not able to handle the data at the rate we would like it to handle. We are using MySql with C3P0.
I am not sure which objects are not getting garbage collected which is causing our application to run outofmemory since i am not able to profile the application.
Will appreciate if anyone can share their experiences in debugging such problemsWe have added throttling mechanism to temporarily fix the problem. As I said before we get data every 2 mins from network. We have a data structure which is populated when we receive the data. So we count the numbers of rows in the data structure and once we reach the throttle we drop rest of the data. Throttle gets reset so that when data comes in next cycle we can again process it.
The problem is we are not able handle data at a higher rate. Most of the times data received from the network is within our throttle limit , so there are no issues. We were seeing issues only when receive burst of data. So if we fixed the issue temporarily by adding throttling.
I hope this clarifies your question -
Memory leak due to MediaProvider
Hello,
I am using jmc to create my own media player. I found that, when creating a new JMediaPane instance for opening and playing a new medium, the old instance is not deleted by the garbage collection, although it is not used and referenced anymore. The reason for this seems to be a still running thread in the class MediaProvider.
This behavior also occurs when using javafx and changing the media of a mediaplayer.
Has anyone any idea on how to solve this problem and how to build a (jmc-based) media player which reliably allows to open and play new media?
Thanks in advance!Hello,
I am using jmc to create my own media player. I found that, when creating a new JMediaPane instance for opening and playing a new medium, the old instance is not deleted by the garbage collection, although it is not used and referenced anymore. The reason for this seems to be a still running thread in the class MediaProvider.
This behavior also occurs when using javafx and changing the media of a mediaplayer.
Has anyone any idea on how to solve this problem and how to build a (jmc-based) media player which reliably allows to open and play new media?
Thanks in advance! -
Hi every body,
I have a big problem with my c++ program, after 3 hours of execution, my program explose, no enouth memory and the cause is that i have a lot of memory leak due at the use of the oracle librairie libclntsh, my oracle version is 9.2.0.7
There is any patch for this librairie ?
Please i need help
Thanks in advanceOn http://metalink.oracle.com
Go in the "Patches & Updates" tab
Click on Simple search
Choose search by "Product or Family" and enter "RDBMS Server" in the following field.
Choose the version you are looking for (9.2.0.8)
Choose your plateform
Click on the Go button.
Nicolas. -
Memory Leak Java Plugin with Swing Applet
Hi
I experience the following problem and desperately need help on this. The Java Plugin (I use Version 1.3.1_02) seems to have a problem in printing Swing Applets.
The problem can easily be reproduced (at least with NT):
1) Start Internet Explorer or Netscape (I used 5.5/4.07)
2) Launch the following demo swing applet
http://java.sun.com/products/plugin/1.3.1_01a/demos/jfc/SwingSet2/SwingSet2Plugin.html
3) Print the applet and observe (using task manager) the memory used by the browser process (the memory used by the process will increase every time you hit the print button but never decrease unless you shut down the browser)
4) Print a couple of times (you may want to pause your print queue) and you will be able to crash your computer
This seems to be the same bug reported with 4638742. However it says "in progress" for quite some time and I was wondering if some genious might know a work around for this.
CheersYou might want to read an article about memory leaks in Java:
http://www-106.ibm.com/developerworks/library/j-leaks/ -
Hello all,
I just started using Kodo. Everything works very well and this is a nice
product. My only problem is that there seems to be a memory leak when
using the Eclipse plugin. The memory taken by the javaw process in task
manager grows and grows if I keep using the mapping tool from inside
eclipse with the kodo buttons on top. When memory usage gets to around
400mb I restart Eclipse.
Has anyone else run into this problem? Is there any way around it?
Thanks in advance,
Adam.Adam-
We haven't seen any reports of this. Can you describe the actions you
take with Kodo? Specifically, are there any particular actions that if
you just repeat over and over, Eclipse runs out of memory?
Also, what version of Eclipse are you using? Earlier versions has a bug
with an interaction with ant has a memory leak. See:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=24448
In article <cqk2qt$ovn$[email protected]>, Goerge wrote:
>
Hello all,
I just started using Kodo. Everything works very well and this is a nice
product. My only problem is that there seems to be a memory leak when
using the Eclipse plugin. The memory taken by the javaw process in task
manager grows and grows if I keep using the mapping tool from inside
eclipse with the kodo buttons on top. When memory usage gets to around
400mb I restart Eclipse.
Has anyone else run into this problem? Is there any way around it?
Thanks in advance,
Adam.
Marc Prud'hommeaux
SolarMetric Inc. -
I have a problem with a applet. My applet produces a memory leak with the plugging 1.5.0_08 and i can't fix it. With 1.5.0_07 plugging or older i don't have this problem. But the problem is not only in my applet, i did make a little applet to test the memory and the problem stayed.
The example is in this URL :
http://148.245.60.225/matematicas/bugs/JRE_memory_leak.html
I don't know what i did do wrong. Can help me somebody?Yes - there is at least one serious memory leak in 08:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6462383
Update 08 has been pulled and is not available on the Java pages anymore except for developers. I assume this was a real lemon.
I had an issue with it because it changed the meaning of the EST time zone... -
Crystal Report Basic for VS 2008 Memory Leak
Hi,
I am having a problem with CR Basic for VS 2008. I can display a report, which I have linked to an DataSet in C#, but when I close the window, I seem to have a memory leak, as verified by process explorer.
I am doing the following when the report window is closing:
myReportViewer.ReportSource = null;
myReportViewer.Dispose();
myReportObject.Close();
myReportObject.Dispose();
GC.Collect();
Any ideas? I have a significant report that is generated and the memory leak is quite significant.
Thanks,
DaveThe memory management you are seeing is an artifact of how the framework manages memory allocations of managed dlls. These dlls are left in memory as it is expect that they may be used later on in your app and reloading these dlls would be a resource intensive process. It is difficult, if not impossible to unload managed dlls and there may not be a good solution. However I suspect that once the managed dlls are loaded, you will see the memory moving in the 38,860 to 40,812 range. This memory will not be freed by the framework until the application is terminated.
Couple of ideas:
1) Trying to find resources on the possibility of unloading managed dlls. Apparently there is a way, but it is cumbersome. Couple of years ago, one of my coworkers spent some time on the issue and eventually gave upu2026 Looking around a bit, I have found the following links that may be of some use to you:
http://blogs.msdn.com/jasonz/archive/2004/05/31/145105.aspx
http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/a2682b53-12ad-4719-b05c-df1476cb39c9
http://msdn.microsoft.com/en-us/library/system.appdomain.aspx ;
http://www.discussweb.com/c-programming/2391-how-unload-both-managed-unmanaged-dll.html ;
2) Try to see how the latest version of Crystal Reports behaves in your environment. Initially, I would suggest a test on a clean system with an eval version of Crystal Reports 2008. In CR 2008 we manage the memory via the crheapalloc.dll. So the behavior may be different. You can even try to see how CR 2008 behaves without the dll by simply renaming the dll.
An eval download of CR 2008 is here:
http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
Ludek -
Cropping Crashes Aperture 3 due to Video Card Memory Leak?
Recently after updating from 3.1.1 to 3.1.2 I have been experiencing crashing issues whenever I perform the cropping action. I see the death of wheel following hitting the return key. There was one time when the master version itself vaporized into thin air. I also noticed from the iStat Menus that the issue only occurs when the ATI Radeon HD 2400 memory usage has reach its full capcity. I quite firefox to release some of the memory then Aperture functions normally until the memory runs out again. I would then see the death of wheel once again when I crop.
Is Aperture crashing because I need a more powerful video card or is it a memory leak issue with the application?
Thanks!
iMac (Early 2008)
2.4 GHz Intel Core Duo
4 GB 800 MHz DDR2 SDRAM
ATI Radeon HD 2400Frank Caggiano wrote:
Lets see if we understand this correctly.
You had a system on which Aperture was crashing when you used the crop tool. You then got a brand new system and the crop tool still causes Aperture to crash. Am I correct so far?
What are the common factors between the old and new systems as far as Aperture goes? Not knowing how you migrated from the old to the new the only thing we can say for certain is that the library is identical.
So have you run the basic library first aid steps? Another thing to try is to create a new empty library, put an image into it and try cropping it and see what happens.
Let us know what happens after those steps,
regards
Frank Caggiano wrote: Lets see if we understand this correctly. You had a system on which Aperture was crashing when you used the crop tool. You then got a brand new system and the crop tool still causes Aperture to crash. Am I correct so far? What are the common factors between the old and new systems as far as Aperture goes? Not knowing how you migrated from the old to the new the only thing we can say for certain is that the library is identical. So have you run the basic library first aid steps? Another thing to try is to create a new empty library, put an image into it and try cropping it and see what happens. Let us know what happens after those steps, regards
I migrated everything from the old computer to the new. I also tried creating a new library and the issue persists. I've also tried the First Aid options all of 'Repair Permission, Repair Database, and Rebuild Database' none of which worked. I've also tried reinstalling Aperture and it crashes on the first crop.
I will need to be editing many photos in a few weeks and now I'm stuck with this issue.. HELP!!!!!!!
It seems like others have run into the same issue also but no solutions!!
Why is aperture 3.1 crashing after cropping images, any one else?
http://www.google.com.hk/url?sa=t&source=web&cd=1&ved=0CBsQFjAA&url=https%3A%2F% 2Fdiscussions.apple.com%2Fthread%2F2642858%3Fstart%3D15%26tstart%3D0&ei=axUETrC0 DM3ciAL23ZXZDQ&usg=AFQjCNE9Kv1N--m8mCyaRkyWi3E9d-0aXg&sig2=qzgEONrK7vLfWetcPT69y A -
I'll be using my iMac (27" late 2009) and it will suddenly cut to black. Then after a second or two, a grey screen will appear and tell me an issue occured and to push any key to restart. Once the computer restarts, the issue report pops up and it says I have a memory leak. I don't know what that means, or how to fix it. Any thoughts on the cause of why it's doing this, or the impending doom it may be heralding? I've posted the issue report below incase anyone can glean anything from it. Thanks for your help.
Fri Feb 14 14:19:08 2014
panic(cpu 4 caller 0xffffff801185211d): "zalloc: zone map exhausted while allocating from zone kalloc.64, likely due to memory leak in zone kalloc.64 (2370900672 total bytes, 37045323 elements allocated)"@/SourceCache/xnu/xnu-2422.1.72/osfmk/kern/zalloc.c:2494
Backtrace (CPU 4), Frame : Return Address
0xffffff8104ed3a30 : 0xffffff8011822f69
0xffffff8104ed3ab0 : 0xffffff801185211d
0xffffff8104ed3bb0 : 0xffffff801182aa2f
0xffffff8104ed3be0 : 0xffffff8011c4bb5d
0xffffff8104ed3c10 : 0xffffff8011c4c0b7
0xffffff8104ed3c40 : 0xffffff8011c61b3a
0xffffff8104ed3c60 : 0xffffff8011c61b91
0xffffff8104ed3ca0 : 0xffffff8011c61d12
0xffffff8104ed3ce0 : 0xffffff8011c93663
0xffffff8104ed3d20 : 0xffffff8011c4abde
0xffffff8104ed3eb0 : 0xffffff8011c4ada7
0xffffff8104ed3ee0 : 0xffffff8011c8e4c3
0xffffff8104ed3f50 : 0xffffff8011c93cc4
0xffffff8104ed3f70 : 0xffffff7f923edbfb
0xffffff8104ed3fa0 : 0xffffff7f923edc6e
0xffffff8104ed3fb0 : 0xffffff80118d6aa7
Kernel Extensions in backtrace:
com.razer.common.razerhid(4.43)[1B7FEBF6-6668-A183-C80E-505105E80B16]@0xffffff7 f923e8000->0xffffff7f923fdfff
dependency: com.apple.iokit.IOUSBFamily(650.4.4)[972D3024-AF9C-3E09-A9EC-D9AB2A559B38]@0xff ffff7f921cb000
dependency: com.apple.iokit.IOHIDFamily(2.0.0)[1185D338-98A5-345E-84F8-E59DF819A61B]@0xffff ff7f92288000
dependency: com.apple.iokit.IOUSBHIDDriver(650.4.4)[B79A7E01-DD3F-3C1A-840A-879D262C69DE]@0 xffffff7f9230d000
dependency: com.apple.driver.IOBluetoothHIDDriver(4.2.0f6)[BDBCA485-A5D3-3EE0-A782-60D83447 BAEB]@0xffffff7f923d4000
BSD process name corresponding to current thread: kernel_task
Boot args: mbasd=1
Mac OS version:
13B42
Kernel version:
Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64
Kernel UUID: 1D9369E3-D0A5-31B6-8D16-BFFBBB390393
Kernel slide: 0x0000000011600000
Kernel text base: 0xffffff8011800000
System model name: iMac11,1 (Mac-F2268DAE)
System uptime in nanoseconds: 6500042405956
vm objects:14896672
vm object hash entri:1422080
VM map entries:3665920
pv_list:14364672
vm pages:148044672
kalloc.16:296143584
kalloc.32:296364096
kalloc.64:2370900672
kalloc.128:8413184
kalloc.256:2584576
kalloc.512:2330624
kalloc.1024:5713920
kalloc.2048:1327104
kalloc.4096:1859584
kalloc.8192:6995968
ipc ports:3312960
threads:3060288
uthreads:1891008
vnodes:27132000
namecache:10648800
HFS node:36340432
HFS fork:4812800
buf.4096:2613248
buf.8192:34643968
ubc_info zone:2554704
vnode pager structur:1418040
Kernel Stacks:25870336
PageTables:75939840
Kalloc.Large:37970463
Backtrace suspected of leaking: (outstanding bytes: 60608)
0xffffff8011851c23
0xffffff801182aa2f
0xffffff8011c4bb5d
0xffffff8011c4d667
0xffffff8011c8e5e7
0xffffff8011c93cc4
0xffffff7f923edbfb
0xffffff7f923edc6e
Kernel Extensions in backtrace:
com.razer.common.razerhid(4.43)[1B7FEBF6-6668-A183-C80E-505105E80B16]@0xffffff7 f923e8000->0xffffff7f923fdfff
dependency: com.apple.iokit.IOUSBFamily(650.4.4)[972D3024-AF9C-3E09-A9EC-D9AB2A559B38]@0xff ffff7f921cb000
dependency: com.apple.iokit.IOHIDFamily(2.0.0)[1185D338-98A5-345E-84F8-E59DF819A61B]@0xffff ff7f92288000
dependency: com.apple.iokit.IOUSBHIDDriver(650.4.4)[B79A7E01-DD3F-3C1A-840A-879D262C69DE]@0 xffffff7f9230d000
dependency: com.apple.driver.IOBluetoothHIDDriver(4.2.0f6)[BDBCA485-A5D3-3EE0-A782-60D83447 BAEB]@0xffffff7f923d4000
last loaded kext at 280540738124: com.apple.filesystems.msdosfs 1.9 (addr 0xffffff7f92483000, size 65536)
loaded kexts:
com.taoeffect.ispy.kext 2.0.2
com.quark.driver.Tether64 1.1.0d3
com.logmein.driver.LogMeInSoundDriver 1.0.0
com.squirrels.airparrot.framebuffer 3
com.squirrels.driver.AirParrotSpeakers 1.7
com.razer.common.razerhid 4.43
at.obdev.nke.LittleSnitch 4052
com.apple.filesystems.msdosfs 1.9
com.apple.filesystems.ntfs 3.11
com.apple.driver.AppleTyMCEDriver 1.0.2d2
com.apple.driver.AGPM 100.14.11
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.driver.AudioAUUC 1.60
com.apple.filesystems.autofs 3.0
com.apple.iokit.IOBluetoothSerialManager 4.2.0f6
com.apple.driver.AppleMikeyHIDDriver 124
com.apple.driver.AppleUpstreamUserClient 3.5.13
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.driver.AppleHDAHardwareConfigDriver 2.5.3fc1
com.apple.kext.AMDFramebuffer 1.1.4
com.apple.driver.AppleHDA 2.5.3fc1
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.ATIRadeonX2000 8.1.8
com.apple.driver.AppleHWAccess 1
com.apple.driver.AppleMuxControl 3.4.12
com.apple.driver.AppleBacklight 170.3.5
com.apple.driver.AppleMikeyDriver 2.5.3fc1
com.apple.iokit.IOBluetoothUSBDFU 4.2.0f6
com.apple.kext.AMD4800Controller 1.1.4
com.apple.driver.AppleMCCSControl 1.1.12
com.apple.driver.AppleLPC 1.7.0
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.2.0f6
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.driver.AppleUSBCardReader 3.3.5
com.apple.driver.AppleIRController 325.7
com.apple.driver.AppleFileSystemDriver 3.0.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 35
com.apple.iokit.SCSITaskUserClient 3.6.0
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.4.0
com.apple.driver.AppleUSBHub 650.4.4
com.apple.driver.AppleFWOHCI 4.9.9
com.apple.iokit.AppleBCM5701Ethernet 3.6.9b9
com.apple.driver.AirPort.Atheros40 700.74.5
com.apple.driver.AppleAHCIPort 2.9.5
com.apple.driver.AppleUSBEHCI 650.4.1
com.apple.driver.AppleUSBUHCI 650.4.0
com.apple.driver.AppleACPIButtons 2.0
com.apple.driver.AppleRTC 2.0
com.apple.driver.AppleHPET 1.8
com.apple.driver.AppleSMBIOS 2.0
com.apple.driver.AppleACPIEC 2.0
com.apple.driver.AppleAPIC 1.7
com.apple.driver.AppleIntelCPUPowerManagementClient 216.0.0
com.apple.nke.applicationfirewall 153
com.apple.security.quarantine 3
com.apple.driver.AppleIntelCPUPowerManagement 216.0.0
com.apple.kext.triggers 1.0
com.apple.iokit.IOSerialFamily 10.0.7
com.apple.iokit.IOSurface 91
com.apple.driver.DspFuncLib 2.5.3fc1
com.apple.vecLib.kext 1.0.0
com.apple.driver.AppleGraphicsControl 3.4.12
com.apple.iokit.IOFireWireIP 2.2.5
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.iokit.IONDRVSupport 2.3.6
com.apple.kext.AMDSupport 1.1.4
com.apple.AppleGraphicsDeviceControl 3.4.12
com.apple.iokit.IOAudioFamily 1.9.4fc11
com.apple.kext.OSvKernDSPLib 1.14
com.apple.driver.AppleSMBusController 1.0.11d1
com.apple.driver.AppleSMBusPCI 1.0.12d1
com.apple.driver.AppleHDAController 2.5.3fc1
com.apple.iokit.IOGraphicsFamily 2.3.6
com.apple.iokit.IOHDAFamily 2.5.3fc1
com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.2.0f6
com.apple.driver.AppleSMC 3.1.6d1
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.driver.IOPlatformPluginFamily 5.5.1d27
com.apple.driver.IOBluetoothHIDDriver 4.2.0f6
com.apple.iokit.IOBluetoothFamily 4.2.0f6
com.apple.driver.AppleUSBHIDKeyboard 170.15
com.apple.driver.AppleHIDKeyboard 170.15
com.apple.iokit.IOSCSIBlockCommandsDevice 3.6.0
com.apple.iokit.IOUSBMassStorageClass 3.6.0
com.apple.iokit.IOUSBHIDDriver 650.4.4
com.apple.driver.AppleUSBMergeNub 650.4.0
com.apple.driver.AppleUSBComposite 650.4.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.6.0
com.apple.iokit.IOBDStorageFamily 1.7
com.apple.iokit.IODVDStorageFamily 1.7.1
com.apple.iokit.IOCDStorageFamily 1.7.1
com.apple.iokit.IOAHCISerialATAPI 2.6.0
com.apple.iokit.IOSCSIArchitectureModelFamily 3.6.0
com.apple.iokit.IOUSBUserClient 650.4.4
com.apple.iokit.IOFireWireFamily 4.5.5
com.apple.iokit.IOEthernetAVBController 1.0.3b3
com.apple.driver.mDNSOffloadUserClient 1.0.1b4
com.apple.iokit.IO80211Family 600.34
com.apple.iokit.IONetworkingFamily 3.2
com.apple.iokit.IOAHCIFamily 2.6.0
com.apple.iokit.IOUSBFamily 650.4.4
com.apple.driver.AppleEFINVRAM 2.0
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.driver.AppleEFIRuntime 2.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 278.10
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.AppleKeyStore 2
com.apple.driver.DiskImages 371.1
com.apple.iokit.IOStorageFamily 1.9
com.apple.iokit.IOReportFamily 21
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.driver.AppleACPIPlatform 2.0
com.apple.iokit.IOPCIFamily 2.8
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.pthread 1
com.apple.kec.corecrypto 1.0
Model: iMac11,1, BootROM IM111.0034.B02, 4 processors, Intel Core i7, 2.8 GHz, 8 GB, SMC 1.54f36
Graphics: ATI Radeon HD 4850, ATI Radeon HD 4850, PCIe, 512 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80AD, 0x484D54313235533642465238432D47372020
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80AD, 0x484D54313235533642465238432D47372020
Memory Module: BANK 0/DIMM1, 2 GB, DDR3, 1067 MHz, 0x80AD, 0x484D54313235533642465238432D47372020
Memory Module: BANK 1/DIMM1, 2 GB, DDR3, 1067 MHz, 0x80AD, 0x484D54313235533642465238432D47372020
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x8F), Atheros 9280: 4.0.74.0-P2P
Bluetooth: Version 4.2.0f6 12982, 3 services, 23 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: ST31000528ASQ, 1 TB
Serial ATA Device: HL-DT-ST DVDRW GA11N
USB Device: Hub
USB Device: Internal Memory Card Reader
USB Device: BRCM2046 Hub
USB Device: Bluetooth USB Host Controller
USB Device: Hub
USB Device: Keyboard Hub
USB Device: Razer DeathAdder
USB Device: Apple Keyboard
USB Device: IR Receiver
USB Device: Built-in iSight
Thunderbolt Bus:Boot into safe mode (restart holding down SHIFT key). If no KP, then uninstall and reinstall those 3rd-party items that Roger pointed out, one at a time, and restart. Continue until you determine which ones are causing the problem. If KP while in safe mode, then most likely hardware related. Run the Apple Hardware Test suite, extended tests at least twice, followed by Rember. See
OS X About kernel panics,
Technical Note TN2063: Understanding and Debugging Kernel Panics,
Mac OS X Kernel Panic FAQ,
Resolving Kernel Panics,
How to troubleshoot a kernel panic, and
Tutorial: Avoiding and eliminating Kernel panics for more details. -
Kernel Panic due to memory leak?
Hello All
I have recently been noticing an issue where while playing music through iTunes my computer freezes and the music begins to skip forcing me to power down by holding in the power button. I have read most topics on this, however none address a memory leak in the 'iChat Agent.'
My machine has 4GB of memory (dual 1.8GHz G5, PPC) and have never had this issue before. I am not sure if it is caused by iTunes or if it is just happens to be when listening to music. I have begun to look around and I have noticed that my memory shoots up after 1-2 days of the computer being on. This is due to the iChat Agent... it takes up about 2GB of RAM. Is this normal?
It has happened 3 times now in the past 2 weeks. Any suggestions?well... the first time i got the kernel panic. it was text overlay on my screensaver that was running. The second time the computer just froze. I wonder though if the kernel panic would have eventually happened.
i keep noticing now that this iChat Agent slowly creeps up during the day to about 2GB Real Memory and 2.4 Virtual Memory. is this normal or causing the freeze?? -
Memory leak when passing variables to functions in StarOffice Basic
The following code generates a fast memory leak:
Sub Main
Dim i&
for i = 1 to 1000000
Model(i)
next i
End Sub
Sub Model(j&)
j = j
End Sub
But if you put the contents of Sub Model into Main, or if you make j a public variable and don't pass it explicitly to Model, the memory leak disappears.
Message was edited by:
capnbobThat's a bit different for event handlers like the onRelease
event of buttons.
mybutton.onRelease = myfunction(1); -> the code will
execute right away without waiting for the event to fire
mybutton.onRelease = myfunction(); -> the code will
execute right away without waiting for the event to fire
mybutton.onRelease = myfunction; -> myfunction gets called
after the event onRelease fires.
See attached code. -
Memory leak versus inactive memory
Hi:
My iMac was becoming painfully slow a year or so ago. This seemed to be due to a lack of RAM, so I upgraded (2 GB to 4 GB total). This worked great, but now I seem to be running out of memory again, even when there are not a lot of programs open.
I’ve started tracking memory usage with Activity Monitor, and typically a huge chunk of my memory is “Inactive”. I.e., at this time I have 215 MB free, 450 MB Wired, 1.6 GB active, and 1.7 GB inactive. This despite only having Word, Outlook, OmniOutliner, Safari and iTunes open. Under System Memory (in Activity Monitor) it says Finder at 250 MB, Word at 131 MB, iTunes at 120 MB, Outlook at 80 MB, OO at 46 MB, and Dropbox at 34 MB (then a bunch of smaller usages). Even being very generous, the total memory usage only seems to add up to ~1GB, far short of the 4 GB installed.
I have no idea what a real “memory leak” actually is, but I’ve heard the term bandied about. I’ve had some weird, nonreproducible system crashes in the last few months where the system just totally freezes, often (but not always) putting a nice colour pattern on the monitors. Looking around, some folks have said that this might be due to a memory problem since everything else seems to check out AOK.
Thus, several questions:
Might I have a “memory leak”? If so, how do I diagnose and fix it?
What is the 1.7 GB of “inactive” memory being used for? Why is my Free memory so small when this big chunk of inactive memory is sitting there?
Thank you very much!
OS 10.8.2, 2.8 GHz Intel Core 2 Duo with 4 GB 800 MHz DDR2 SDRAMThe way Safari accumulates memory is normal. The way it is trying to page the memory to disc and error-ing is not. I think the integrity of your disc volume / catalog and directories may be to blame.
Try a bit of basic maintenance:
Repairing permissions is important, and should always be carried out both before and after any software installation or update.
Go to Disk Utility (this is in your Utilities Folder in your Application folder) and click on the icon of your hard disk (not the one with all the numbers).
In First Aid, click on Repair Permissions.
This only takes a minute or two in Tiger, but much longer in Leopard.
Background information here:
http://docs.info.apple.com/article.html?artnum=25751
and here:
http://docs.info.apple.com/article.html?artnum=302672
An article on troubleshooting Permissions can be found here:
http://support.apple.com/kb/HT2963
By the way, you can ignore any messages about SUID or ACL file permissions, as explained here:
http://support.apple.com/kb/TS1448?viewlocale=en_US
If you were having any serious problems with your Mac you might as well complete the exercise by repairing your hard disk as well. You cannot do this from the same start-up disk. Reboot from your install disk (holding down the C key). Once it opens, select your language, and then go to Disk Utility from the Utilities menu. Select your hard disk as before and click Repair.
Once that is complete reboot again from your usual start-up disk.
More useful reading here:
Resolve startup issues and perform disk maintenance with Disk Utility and fsck
http://support.apple.com/kb/TS1417?viewlocale=en_US
For a full description of how to resolve Disk, Permission and Cache Corruption, you should read this FAQ from the X Lab:
http://www.thexlab.com/faqs/repairprocess.html -
APEX 4.1.1 Memory Leak in IE7
Hi,
We busy upgrading our apex and db from 3.0/10G to 4.1.1/11.2G and notice that there appears to be a memory leak when using APEX. At one stage we have had IE7 using over a gig of memory.
When you load or refresh your page IE7 seems to grab on average 2-5MB of memory for each page load. At first we thought it may have been our apps or setup but this also happens when we go to app 4550 page 1 on apex.oracle.com.
How to replicate:
Open task manager to view the Memory Usage.
Using IE7
1. Go to http://apex.oracle.com/pls/apex/f?p=4550:1
2. Go back to Task Manager and note the readings once the CPU Usage for iexplore.exe has stablised to 0.
3. go back to IE7 and press F5
4. Repeat steps 2-3 and you will see the Memory usage increases.
We think this maybe due to a few jQuery UI memory leaks within IE7 and thought this bug ticket maybe of interest http://bugs.jqueryui.com/ticket/7666 (Slightly different versions but similiar experiences)
Could someone else confirm that they also experience the increasing or have had similiar problems and managed to resolve it?
TBH, it wouldn't be an issue to use another browser like Firefox to access the builder but this also affects the applications if they include APEX standard Javascript and CSS.
Thanking you in advance.
Alistair
Edited by: Alistair Laing on Jun 16, 2012 2:32 PM
Added TagsAlistair Laing wrote:
Hi,
We busy upgrading our apex and db from 3.0/10G to 4.1.1/11.2G and notice that there appears to be a memory leak when using APEX. At one stage we have had IE7 using over a gig of memory.
When you load or refresh your page IE7 seems to grab on average 2-5MB of memory for each page load. At first we thought it may have been our apps or setup but this also happens when we go to app 4550 page 1 on apex.oracle.com.
How to replicate:
Open task manager to view the Memory Usage.
Using IE7
1. Go to http://apex.oracle.com/pls/apex/f?p=4550:1
2. Go back to Task Manager and note the readings once the CPU Usage for iexplore.exe has stablised to 0.
3. go back to IE7 and press F5
4. Repeat steps 2-3 and you will see the Memory usage increases.
We think this maybe due to a few jQuery UI memory leaks within IE7 and thought this bug ticket maybe of interest http://bugs.jqueryui.com/ticket/7666 (Slightly different versions but similiar experiences)
Could someone else confirm that they also experience the increasing or have had similiar problems and managed to resolve it?Anecdotally, yes. Don't have exact steps for replication or precise numbers, but I have noticed this in passing. On the junk that my client considers a PC suitable for web development the typical IE7 memory footprint with the APEX 3.0 builder and several other tabs running is about 52MB. Add APEX 4.1.1 and it climbs constantly until I have to pull the plug when it gets north of 150MB as the PC can't take it.
As well that I also have Firefox and 4.1.1 is still experimental at that site...
At the moment I don't have to resolve it and if I did the only option I'd propose is the replacement of IE7.
VC wrote:
Look at this http://www.bbc.co.uk/news/technology-18440979
Alistair Laing wrote:lol @ VC - I dont shop online at work :-D
I saw that eariler this week. I do agree with the concept though.So take appropriate action: charge extra for IE7 support.
The amount of work and effort involved in making our website look normal on IE7 equalled the combined time of designing for Chrome, Safari and Firefox.Is entirely accurate. If it's stated as a requirement, itemise it as an extra on the quote.
Educate management and bean counters: show them the one line of standards-compliant CSS that's all that is necessary in Safari, Chrome, Firefox and Opera (and just possibly in IE8/9/10), how it isn't supported in IE7, and the tortuous hacks and workarounds that are required to get something equivalent working there. -
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
-
I recent changed ink from photoblack to matte. How do I select a differant paper if all options are greyed out? EG in Print Module I have seectedMelect Printer Settings, Media Type: All options of paper type can't be selected...greyed out!!!!!!
-
Itunes wont recognize itunes music folder
after restarting my computer the other day to finish a mcafee upgrade, i clicked the itunes to open and listen to my music and an error message appeared reading "The folder "iTunes" cannot be found or created, and is required. The default location fo
-
Inventory ageing for slow moving Items
Hi, Please how to make Inventory aging of slow moving items in BI. What is the logic? What are the key fig and characterstics taking into account? It is any standard report available in BI Thanks and Regards Ajit Dude
-
Hi All, why we are using LDB'S in HR ABAP PRG.. and use of END-OF-SELECTION. reply soon plz......... regards, vijay.
-
A fue weeks ago I must have somehow deleted java folder from the utilities and now cant get it back. Ive researched this heaps but im getting nowhere. Does anyone no how to reinstall java (and you cant use an update). And there is no native install.