Process using up system memory
I'm running 10.6.3 on a Late 2008 Aluminum Macbook. Lately I've been experiencing an issue with a process called "fldirpatcher" using up system memory for about one minute after bringing the device out of sleep. Has anyone else experienced this or know what this process is?
Message was edited by: RickDean
Try undoing your most recent change. Without knowing at all what software you installed or updating, that is my best suggestion.
Similar Messages
-
Backupd process using too much memory, blocking up system (Yosemite)
Hello,
Since I upgraded to Yosemite (maybe even only after I installed 10.10.1) on my Early 2009 17" MacBook Pro, after a while, a process called "backupd" is started, using all available memory, then switching to virtual memory. After a few hours, it can take more than 20 GB of virtual memory, making the MacBook Pro very slow and unresponsive. Killing the process using Activity Monitor (which can take many minutes because of the unresponsiveness) regains the used memory, and almost immediately makes the machine responsive again.
What is this "backupd" doing anyway, are there means to prevent it from running at all or to let it stop using so much memory, or might there be a bug in OS X 10.10.1?
Cheers,
DirkI did that anyway yesterday, to turn off the mobile backups, as my MBP is not so mobile anymore
Let's see if it works and if the problem is solved by it -
RAC node process using 25% physical memory
We have a QA server is non-RAC, and production is two-node RAC. We have a migration app that does an INSERT from SELECT over 2 instances. All of the machines have been in successful day-to-day use for several months...our only troublespot seems to be the migration app.
Today we started the app on the QA server and watched the oracle processes using top. They ran normally and finished without any problems.
The same app started on either of the RAC nodes produced process memory errors and died.
As the app ran, there was a process reading the data from the source instance and a process writing to the target instance. We confirmed this by querying the session data. It doesn't matter which of the nodes runs which target process...the result is the same.
The reading process(session) on the source instance seems to run normally. The write process on the target instance, however, begins slowly accumulating memory in about 16M chunks and holds on to them.
We saw this in the RES and in the MEM columns of top. The target process never released any memory, but slowly grabbed it until its
RES was 4GB and the %MEM was about 30%. The app then died with process memory error. This is reproducible over several runs.
( Per Metalink Note 567506.1, the recommended value for Linux 64-bit is 4294967295 ..we have that set. )
There are other oracle processes and instances running on both nodes which do not seem to be affected. The total number of processes on each machine is around 750..much lower than the nprocs ulimit of 63K.
These process are both oracle sessions spawned by the app.
I haven't seen any info on the web or Metalink that matches these symptoms, so I thought I'd try the experts.
Why would the write session continuously use up physical memory, but only on RAC nodes?
We are running RHEL5 on Dell Poweredge 2950 w 16K Physical mem. Version of 10g is R2.0.4.user12017889 wrote:
The write process on the target instance, however, begins slowly accumulating memory in about 16M chunks and holds on to them.Exactly what process is this? An Oracle server process? Dedicated or shared server?
We saw this in the RES and in the MEM columns of top. The target process never released any memory, but slowly grabbed it until its
RES was 4GB and the %MEM was about 30%. How does the writer process work? Does it use PL/SQL? Does it use bulk processing? How does it call the reader process? Or does the reader process call it? Is this over a database link.
The app then died with process memory error. This is reproducible over several runs.If this is an Oracle server process, then there should be an entry in the alert log of the instance that recorded the crash and includes the name of the trace file generated by the crash. -
I encountered this problem on our SQL2012 and I have tried different scenarios (see below) to no avail. I have decided to give up and check if someone here has encountered this and resolved it.
One thing I know, it's not a memory issue. Both servers we're using has lots of memory to spare and we monitor the memory as the replication goes through it's steps.
I hope someone can help me on this. Thanks!
The Error:
The merge process could not allocate memory for an operation; your system may be running low on virtual memory. Restart the Merge Agent.
Our Scenario
We're using SQL Server 2012 SP1. All subscriptions are pull based.
We're using direct Merge Replication (not FTP or web sync)
We already have 10 active replications with larger databases. Only 1 has this issue.
Database size is less than 5 GB
Rebuilding the publisher is not an option.
What have I tried?
There is no memory problem --- we have lots to spare
I have tried re-initialization of the database. Same problem.
I tried deleting the database and reinitializing it. Same problem
New snapshot. Same problem.
I tried changing the subscriber server but still same issue.
MCP, MCSD, MCDBA (ANXA)Here is the result for the sp_configure on our subscriber. We're doing a pull on the server with the issue.
name
minimum
maximum
config_value
run_value
max server memory (MB)
128
2147483647
2147483647
2147483647
In addition, I made a comparison between the working servers and the one with the issue -- there seems to be a difference in the service pack. Publisher has none but the subscriber is operating on SP1. But still strange as only 1 database is affected.
MCP, MCSD, MCDBA (ANXA) -
We have a Windows NT system with 2 Gb of physical memory and would like to utilize the RAM fully using Labview. What usually occurs is that Labview uses a tremendous amount of page file space while a majority of the physical memory is unused. Is there a way to configure Labview (or our system) to overcome this problem? It seems that our processes would be much faster if they were mainly using the physical memory. Is it possible to trick the system, by creating a RAM disk and allocating this as virtual memory space?
> We have a Windows NT system with 2 Gb of physical memory and would
> like to utilize the RAM fully using Labview. What usually occurs is
> that Labview uses a tremendous amount of page file space while a
> majority of the physical memory is unused. Is there a way to
> configure Labview (or our system) to overcome this problem? It seems
> that our processes would be much faster if they were mainly using the
> physical memory. Is it possible to trick the system, by creating a
> RAM disk and allocating this as virtual memory space?
LabVIEW the application doesn't know anything about physical versus
virtual memory. LV asks the OS for general purpose memory and goes
from there.
Drivers like DAQ and IMAQ will have a combination of general user
memory and page lo
cked physical buffers.
I'm not up on the details, but this is something that the OS is in
control of, so that is where you need to look for the solution. One
of the things to look at is the disk cache. By default, I think that
NT takes a percentage of the RAM to use for disk cache. With that
much RAM, this is probably unnecessary and is using too much.
Similarly, the OS may be attempting to keep the working set size
to a fraction of the total RAM to reserve space for other things.
It doesn't make sense to me, but then I don't work for MS.
Greg McKaskle -
ITunes 7.6 uses massive amounts of system memory
When playing music in iTunes 7.6 on cover flow view, I notice from watching the processes tap of Windows Task Manager, that iTunes uses about 70MB of RAM when initially opened but that with each unique album cover it displays (by clicking on different songs from the library), the memory usage increases in increments of anywhere between 4MB and 40 MB. I first noticed the problem when my synchronization program displayed an error message stating that my computer was out of virtual memory. When I looked at the processes tab of Windows Task Manager, iTunes was using over 1GB of system memory (I have 2GB). Any ideas? Thanks!
not only does it hord your memroy.... it loads down your processor as well.
someoneelse mentioned it was trying to convert video files (constantly and never stops trying), and removing the video files should help...it did help, a little... 7.6 still lags and is slowest program I have installed on my PC at the moment. -
Why are the following processes always using lots of memory?
Can someone tell me why the following processes are always using lots of memory and are always running?
kernel_task 280MB
java 300MB
clamd 120MB
mds 100MB
WindowServer 100MB
coreservicesd 60MBBecause they require that much memory and because the processes are always in use.
This is one reason why the minimum system memory requirement is 1 GB.
Now, you have one third-party process listed, clamd, which is used by ClamXAV anti-virus software. If you can uninstall it you will recover the memory needed by clamd. -
Can I get a List of all the running processes in the system using java ?
I want a complete list of all the Running processes currently in the system.
List of running processes is like, in MS Window environment while we presses ctrl + alt + del and we get a small window containing a list of all the running processes currently in system.
I hope somebody have done the same and will help me.
thanx.Here is the sample code to get All running process in your system .
Its in C++.And you have use JNI to use this code.
For complete project goto
http://www.mindcracker.com/mindcracker/c_cafe/winapi/protracker.asp
typedef BOOL (WINAPI * PFNENUMPROCESSES)(
DWORD * lpidProcess,
DWORD cb,
DWORD * cbNeeded
typedef BOOL (WINAPI * PFNENUMPROCESSMODULES)(
HANDLE hProcess,
HMODULE *lphModule,
DWORD cb,
LPDWORD lpcbNeeded
typedef DWORD (WINAPI * PFNGETMODULEFILENAMEEXA)(
HANDLE hProcess,
HMODULE hModule,
LPSTR lpFilename,
DWORD nSize
//unsigned int i;
static HMODULE hModPSAPI = 0;
static PFNENUMPROCESSES EnumProcesses = 0;
static PFNENUMPROCESSMODULES EnumProcessModules = 0;
static PFNGETMODULEFILENAMEEXA GetModuleFileNameExA = 0;
if ( !hModPSAPI )
hModPSAPI = LoadLibrary( "PSAPI.DLL" );
if ( !hModPSAPI )
return FALSE ;
EnumProcesses = (PFNENUMPROCESSES)
GetProcAddress( hModPSAPI,"EnumProcesses" );
EnumProcessModules = (PFNENUMPROCESSMODULES)
GetProcAddress( hModPSAPI, "EnumProcessModules" );
GetModuleFileNameExA = (PFNGETMODULEFILENAMEEXA)
GetProcAddress( hModPSAPI, "GetModuleFileNameExA" );
if ( !EnumProcesses
|| !EnumProcessModules
|| !GetModuleFileNameExA )
return FALSE;
LV_ITEM lvi;
CString str, str1;
if ( !EnumProcesses( aProcesses, sizeof(aProcesses), &cbNeeded ) )
return FALSE;
cProcesses = cbNeeded / sizeof(DWORD);
char szProcessName[MAX_PATH] = "unknown";
for ( int i = 0; i < cProcesses; i++ )
HANDLE hProcess = OpenProcess( PROCESS_QUERY_INFORMATION |
PROCESS_VM_READ, FALSE, aProcesses);
if ( hProcess )
HMODULE hMod;
DWORD cbNeeded;
if ( EnumProcessModules( hProcess, &hMod, sizeof(hMod), &cbNeeded) )
GetModuleFileNameExA( hProcess, hMod, szProcessName,
sizeof(szProcessName) );
str = szProcessName ;
str1.Format(": %d ", hProcess );
str += str1 ;
m_list.AddString ( str );
UpdateData(TRUE );
CloseHandle( hProcess ); -
Problem description:
My iMac (early 2008) with OS 10.10.2 runs slow. I have run EtreCheck several times, and I am unable to move beyond Problem System Launch Agents (11 processes killed due to memory pressure) and Launch Daemons (12 processes killed).
EtreCheck version: 2.1.8 (121)
Report generated April 14, 2015 at 9:50:48 AM EDT
Download EtreCheck from http://etresoft.com/etrecheck
Click the [Click for support] links for help with non-Apple products.
Click the [Click for details] links for more information about that line.
Hardware Information: ℹ️
iMac (24-inch, Early 2008) (Verified)
iMac - model: iMac8,1
1 3.06 GHz Intel Core 2 Duo CPU: 2-core
4 GB RAM Upgradeable
BANK 0/DIMM0
2 GB DDR2 SDRAM 800 MHz ok
BANK 1/DIMM1
2 GB DDR2 SDRAM 800 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
NVIDIA GeForce 8800 GS - VRAM: 512 MB
iMac 1920 x 1200
System Software: ℹ️
OS X 10.10.2 (14C1510) - Time since boot: 4 days 20:29:22
Disk Information: ℹ️
Hitachi HDS721010KLA330 disk0 : (1 TB)
EFI (disk0s1) <not mounted> : 210 MB
Mac iBook HD (disk0s2) / : 999.35 GB (521.60 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
USB Information: ℹ️
Apple Inc. Built-in iSight
Apple, Inc. Keyboard Hub
Apple, Inc Apple Keyboard
Apple Computer, Inc. IR Receiver
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Configuration files: ℹ️
/etc/sysctl.conf - Exists
Gatekeeper: ℹ️
Mac App Store and identified developers
Problem System Launch Agents: ℹ️
[killed] com.apple.CallHistoryPluginHelper.plist
[killed] com.apple.CallHistorySyncHelper.plist
[killed] com.apple.coreservices.appleid.authentication.plist
[killed] com.apple.icloud.fmfd.plist
[killed] com.apple.Maps.pushdaemon.plist
[killed] com.apple.printtool.agent.plist
[killed] com.apple.SafariNotificationAgent.plist
[killed] com.apple.sbd.plist
[killed] com.apple.scopedbookmarkagent.xpc.plist
[killed] com.apple.telephonyutilities.callservicesd.plist
[killed] com.apple.warmd_agent.plist
11 processes killed due to memory pressure
Problem System Launch Daemons: ℹ️
[killed] com.apple.AssetCacheLocatorService.plist
[killed] com.apple.ctkd.plist
[killed] com.apple.emond.aslmanager.plist
[killed] com.apple.icloud.findmydeviced.plist
[killed] com.apple.ifdreader.plist
[killed] com.apple.nehelper.plist
[killed] com.apple.nesessionmanager.plist
[killed] com.apple.periodic-daily.plist
[killed] com.apple.periodic-weekly.plist
[killed] com.apple.softwareupdate_download_service.plist
[killed] com.apple.wdhelper.plist
[killed] org.cups.cupsd.plist
12 processes killed due to memory pressure
Launch Agents: ℹ️
[not loaded] com.adobe.AAM.Updater-1.0.plist [Click for support]
[running] com.adobe.AdobeCreativeCloud.plist [Click for support]
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist [Click for support]
[loaded] com.adobe.SwitchBoard.plist [Click for support]
[running] com.arubanetworks.via.NetworkMonitorLaunchd.plist [Click for support]
[loaded] com.microsoft.office.licensing.helper.plist [Click for support]
User Launch Agents: ℹ️
[loaded] com.adobe.AAM.Updater-1.0.plist [Click for support]
[loaded] com.adobe.ARM.[...].plist [Click for support]
[loaded] com.adobe.ARM.[...].plist [Click for support]
[loaded] com.google.keystone.agent.plist [Click for support]
[running] com.spotify.webhelper.plist [Click for support]
User Login Items: ℹ️
ChronoSyncBackgrounder Application (/Library/Application Support/ChronoSync/ChronoSyncBackgrounder.app)
Dropbox Application (/Applications/Dropbox.app)
Canon IJ Network Scanner Selector2 Application Hidden (/Library/Printers/Canon/IJScanner/Utilities/Canon IJ Network Scanner Selector2.app)
Google Drive Application (/Applications/Google Drive.app)
Internet Plug-ins: ℹ️
Google Earth Web Plug-in: Version: 6.1 [Click for support]
Default Browser: Version: 600 - SDK 10.10
AdobeExManDetect: Version: AdobeExManDetect 1.1.0.0 - SDK 10.7 [Click for support]
Flip4Mac WMV Plugin: Version: 3.1.0.24 - SDK 10.8 [Click for support]
OVSHelper: Version: 1.1 [Click for support]
AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 [Click for support]
AdobePDFViewerNPAPI: Version: 11.0.10 - SDK 10.6 [Click for support]
DivX Web Player: Version: 3.2.4.1250 - SDK 10.6 [Click for support]
FlashPlayer-10.6: Version: 17.0.0.134 - SDK 10.6 [Click for support]
Flash Player: Version: 17.0.0.134 - SDK 10.6 Outdated! Update
iPhotoPhotocast: Version: 7.0
QuickTime Plugin: Version: 7.7.3
SharePointBrowserPlugin: Version: 14.4.8 - SDK 10.6 [Click for support]
AdobePDFViewer: Version: 11.0.10 - SDK 10.6 [Click for support]
Silverlight: Version: 5.1.20913.0 - SDK 10.6 [Click for support]
JavaAppletPlugin: Version: 15.0.0 - SDK 10.10 Check version
User internet Plug-ins: ℹ️
WebEx: Version: 1.0 [Click for support]
Google Earth Web Plug-in: Version: 7.1 [Click for support]
3rd Party Preference Panes: ℹ️
Adobe Version Cue CS2 [Click for support]
Flash Player [Click for support]
Flip4Mac WMV [Click for support]
VIA PrefPane [Click for support]
Time Machine: ℹ️
Time Machine not configured!
Top Processes by CPU: ℹ️
3% WindowServer
3% Mail
2% com.apple.iCloudHelper
1% Creative Cloud
1% Google Chrome
Top Processes by Memory: ℹ️
223 MB Google Chrome
150 MB Finder
129 MB Google Chrome Helper
112 MB Mail
69 MB Google Drive
Virtual Memory Information: ℹ️
35 MB Free RAM
1.45 GB Active RAM
1.45 GB Inactive RAM
888 MB Wired RAM
27.01 GB Page-ins
851 MB Page-outsWhen you see a beachball cursor or the slowness is especially bad, note the exact time: hour, minute, second.
These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad and start typing the name.
The title of the Console window should be All Messages. If it isn't, select
SYSTEM LOG QUERIES ▹ All Messages
from the log list on the left. If you don't see that list, select
View ▹ Show Log List
from the menu bar at the top of the screen.
Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above.
Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first.
Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
Please don't indiscriminately dump thousands of lines from the log into this discussion.
Please don't post screenshots of log messages—post the text.
Some private information, such as your name, may appear in the log. Anonymize before posting. -
Strange memory behaviour using the System.Collections.Hashtable in object reference
Dear all,
Recently I came across a strange memory behaviour when comparing the system.collections.hashtable versus de scripting.dictionary object and thought to analyse it a bit in depth. First I thought I incorrectly destroyed references to the class and
child classes but even when properly destroying them (and even implemented a "SafeObject" with deallocate method) I kept seeing strange memory behaviour.
Hope this will help others when facing strange memory usage BUT I dont have a solution to the problem (yet) suggestions are welcome.
Setting:
I have a parent class that stores data in child classes through the use of a dictionary object. I want to store many differenct items in memory and fetching or alteging them must be as efficient as possible using the dictionary ability of retrieving key
/ value pairs. When the child class (which I store in the dictionary as value) contains another dictionary object memory handeling is as expected where all used memory is release upon the objects leaving scope (or destroyed via code). When I use a system.collection.hashtable
no memory is released at all though apears to have some internal flag that marks it as useable for another system.collection.hashtable object.
I created a small test snippet of code to test this behaviour with (running excel from the Office Plus 2010 version) The snippet contains a module to instantiate the parent class and child classes that will contain the data. One sub will test the Hash functionality
and the other sub will test the dictionary functionality.
Module1
Option Explicit
Sub testHash()
Dim Parent As parent_class
Dim d_Count As Double
'Instantiate parent class
Set Parent = New parent_class
'Create a child using the hash collection object
Parent.AddChildHash "TEST_hash"
Dim d_CycleCount As Double
d_CycleCount = 50000
'Add dummy data records to the child container with x amount of data For d_Count = 0 To d_CycleCount
Parent.ChildContainer("TEST_hash").InsertDataToHash CStr(d_Count), "dummy data"
Next
'Killing the parent when it goes out of scope should kill the childs. (Try it out and watch for the termination debug messages)
'According to documentation and debug messages not really required!
Set Parent.ChildContainer("TEST_hash") = Nothing
'According to documentation not really as we are leaving scope but just to be consistent.. kill the parent!
Set Parent = Nothing
End Sub
Sub testDict()
Dim Parent As parent_class
Dim d_Count As Double
'Instantiate parent class
Set Parent = New parent_class
'Create a child using the dictionary object
Parent.AddChildDict "TEST_dict"
Dim d_CycleCount As Double
d_CycleCount = 50000
'Blow up the memory with x amount of records
Dim s_SheetCycleCount As String
s_SheetCycleCount = ThisWorkbook.Worksheets("ButtonSheet").Range("K2").Value
If IsNumeric(s_SheetCycleCount) Then d_CycleCount = CDbl(s_SheetCycleCount)
'Add dummy data records to the child container
For d_Count = 0 To d_CycleCount
Parent.ChildContainer("TEST_dict").InsertDataToDict CStr(d_Count), "dummy data"
Next
'Killing the parent when it goes out of scope should kill the childs. (Try it out and watch for the termination debug messages)
'According to documentation and debug messages not really required!
Set Parent.ChildContainer("TEST_dict") = Nothing
'According to documentation not really as we are leaving scope but just to be consistent.. kill the parent!
Set Parent = Nothing
End Sub
parent_class:
Option Explicit
Public ChildContainer As Object
Private Counter As Double
Private Sub Class_Initialize()
Debug.Print "Parent initialized"
Set ChildContainer = CreateObject("Scripting.dictionary")
End Sub
Public Sub AddChildHash(ByRef ChildKey As String)
If Not ChildContainer.Exists(ChildKey) Then
Dim TmpChild As child_class_hashtable
Set TmpChild = New child_class_hashtable
ChildContainer.Add ChildKey, TmpChild
Counter = Counter + 1
Set TmpChild = Nothing
End If
End Sub
Public Sub AddChildDict(ByRef ChildKey As String)
If Not ChildContainer.Exists(ChildKey) Then
Dim TmpChild As child_class_dict
Set TmpChild = New child_class_dict
ChildContainer.Add ChildKey, TmpChild
Counter = Counter + 1
Set TmpChild = Nothing
End If
End Sub
Private Sub Class_Terminate()
Debug.Print "Parent being killed, first kill all childs (if there are any left!) - muahaha"
Set ChildContainer = Nothing
Debug.Print "Parent killed"
End Sub
child_class_dict
Option Explicit
Public MemmoryLeakObject As Object
Private Sub Class_Initialize()
Debug.Print "Child using Scripting.Dictionary initialized"
Set MemmoryLeakObject = CreateObject("Scripting.Dictionary")
End Sub
Public Sub InsertDataToDict(ByRef KeyValue As String, ByRef DataValue As String)
If Not MemmoryLeakObject.Exists(KeyValue) Then MemmoryLeakObject.Add KeyValue, DataValue
End Sub
Private Sub Class_Terminate()
Debug.Print "Child using Scripting.Dictionary terminated"
Set MemmoryLeakObject = Nothing
End Sub
child_class_hash:
Option Explicit
Public MemmoryLeakObject As Object
Private Sub Class_Initialize()
Debug.Print "Child using System.Collections.Hashtable initialized"
Set MemmoryLeakObject = CreateObject("System.Collections.Hashtable")
End Sub
Public Sub InsertDataToHash(ByRef KeyValue As String, ByRef DataValue As String)
If Not MemmoryLeakObject.ContainsKey(KeyValue) Then MemmoryLeakObject.Add KeyValue, DataValue
End Sub
Private Sub Class_Terminate()
Debug.Print "Child using System.Collections.Hashtable terminated"
Set MemmoryLeakObject = Nothing
End Sub
Statistics:
TEST: (Chronologically ordered)
1.1 Excel starting memory: 25.324 kb approximately
Max memory usage after hash (500.000 records) 84.352 kb approximately
Memory released: 0 %
1.2 max memory usages after 2nd consequtive hash usage 81.616 kb approximately
"observation:
- memory is released then reused
- less max memory consumed"
1.3 max memory usages after 3rd consequtive hash usage 80.000 kb approximately
"observation:
- memory is released then reused
- less max memory consumed"
1.4 Running the dictionary procedure after any of the hash runs will start from the already allocated memory
In this case from 80000 kb to 147000 kb
Close excel, free up memory and restart excel
2.1 Excel starting memory: 25.324 kb approximately
Max memory usage after dict (500.000 records) 90.000 kb approximately
Memory released: 91,9%
2.2 Excel starting memory 2nd consequtive dict run: 27.552 kb approximately
Max memory usage after dict (500.000 records) 90.000 kb approximately
Memory released: 99,4%
2.3 Excel starting memory 3rd consequtive dict run: 27.712 kb approximately
Max memory usage after dict (500.000 records) 90.000 kb approximately
Memory released:Hi Cor,
Thank you for going through my post and took the time to reply :) Most apreciated. The issue I am facing is that the memory is not reallocated when using mixed object types and is not behaving the same. I not understand that .net versus the older methods
use memory allocation differently and perhaps using the .net dictionary object (in stead of the scripting.dictionary) may lead to similar behaviour. {Curious to find that out -> put to the to do list of interesting thingies to explore}
I agree that allocated memory is not a bad thing as the blocks are already assigned to the program and therefore should be reallocated with more performance. However the dictionary object versus hashtable perform almost identical (and sometimes even favor
the dictionary object)
The hashtable is clearly the winner when dealing with small sets of data.
The issue arises when I am using the hash table in conjunction with another type, for example a dictionary, I see that the dictionary object's memory is stacked on top of the claimed memory space of the hashtable. It appears that .net memory allocation and
reuse is for .net references only. :) (Or so it seems)
In another example I got with the similar setup, I see that the total used memory is never released or reclaimed and leakage of around 20% allocated memory remains to eventually crash the system with the out of memory message. (This is when another class
calls the parent class that instantiates the child class but thats not the point of the question at hand)
This leakage drove me to investigate and create the example of this post in the first place. For the solution with the class -> parent class -> child class memory leak I switched all to dictionaries and no leakage occurs anymore but nevertheless thought
it may be good to share / ask if anyone else knows more :D (Never to old to learn something new) -
How to find memory taken by a process using top command
I wanted to know how to find the memory taken by a process using top command. The output of the top command is as follows as an example:
Mem: 13333364k total, 13238904k used, 94460k free, 623640k buffers
Swap: 25165816k total, 112k used, 25165704k free, 4572904k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
16514 applmgr 25 0 2197m 1.7g 10m S 0.3 13.0 15:20.67 java
30692 crestelo 22 0 2901m 1.4g 9284 S 0.0 11.0 3:03.68 java
30431 crestelo 25 0 2043m 1.4g 161m S 50.9 11.0 79:02.73 java
30869 crestelo 25 0 2860m 1.2g 9292 S 0.0 9.6 7:11.18 java
16655 applmgr 23 0 1934m 1.1g 10m S 0.3 8.9 2:17.49 java
16319 crestelo 19 0 1541m 299m 44m S 0.0 2.3 2:52.11 java
I hope, my question is clear as to how to find the memory taken by a process using top command.
Please revert with the reply to my query.
RegardsHave you tried "man top" to see the documentation for the top command?
How about the following: http://lmgtfy.com/?q=show+memory+with+top+command
The 5th column (VIRT) shows the amount of RAM + swap
The 6th column (RES) shows RAM
The 7th column (SHR) shows memory shared between processes -
How to find memory taken by Oracle processes using top command
I wanted to know how to find the memory taken by Oracle processes using top command. The output of the top command is as follows as an example:
Mem: 16436072k total, 16215708k used, 220364k free, 395128k buffers
Swap: 25165816k total, 1168288k used, 23997528k free, 13366520k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
27281 oraprod 15 0 6705m 1.3g 1.3g S 0.0 8.6 61:44.71 oracle
27383 oraprod 15 0 6702m 1.2g 1.2g S 0.0 7.7 2:22.75 oracle
5199 oraprod 16 0 6745m 1.1g 1.0g S 0.0 6.8 2:51.23 oracle
The different Oracle processes could be Oracle database, Oracle listener, Oracle enterprise manager etc.
I hope, my question is clear as to how to find the memory taken by a process using top command.
Please revert with the reply to my query.
Regardsa short and correct answer would be: you can't.
As oracle uses a fair amount of shared memory, and that shared memory is attached to most of the oracle processes, the same memory appears a number of times.
you should rephrase your question / what is it you want to achieve?
you can ask oracle how much memory is assigned to it, v$sga, v$sgastat, v$process (for PGA). moreover, you as DBA are the one who configured that.
you can look at major an minor faults per process to see what is causing the paging (if you have any).
you can also look at the /proc/pid/statm pseudofilesystem for your oracle pids. -
Can I use LabVIEW to load data directly into system memory from a VI? The serial card I'm using isn't supported by NI nor does VISA recognize it. I'm using a Call Library function to read the data from the card and now I want it to go directly to system memory.
The data is being received at 1Mbps.
ThanksTwo questions:
One, if it's a serial card, then presumably it gives you more serial ports, like COM3, COM4, etc. If so, VISA would see the COM ports, and not the card directly. The drivers for the card should make it so that you see the extra serial ports from the OS. If you don't see the extra COM ports from VISA, then it sounds like the drivers for the card are not installed properly. Do the extra COM ports show up in Device Manager?
Two, you said that you're using a Call Library function to get the data and you want to put it into system memory. Errr.... you just read the data and you have it in memory by definition. Are you saying you need a way to parse the data so it shows up on a graph or something? -
I tried to customize the Envy 15t but I can't proceed on upgrading the following.
Error
24GB SSD Acceleration Cache requires purchase only up to 8GB System Memory.
Why can't I use the 16GB DDR3 System Memory (2 Dimm) with 24GB flash Hard Drive Acceleration Cache?
Can HP explain this to me? or any one? pleaseHi,
The 24Gb cache drive will store manything and normally it will need at least twice the size (capacity) of RAM. Double 16Gb is 32Gb therefore 24Gb is not big enough.
Regards.
BH
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem. -
"airport" process uses all of the memory an cpu
After I reinstalled my MacBook and updated to the latest version of Tiger (10.4.8) my airport network behaves very strange. When I boot my MacBook or disconnect/connect my Airport network a process called "airport" is consuming all the CPU and memory. It uses one core exclusivly and gows to 1,2 GByte of RAM (even more virtual Memory). This slows down the macbook to almost still and heats up the CPU.
The only thing I can do is to kill the process. Then everything works fine. But this is annoying.
It seems to make no difference if I use a wireless LAN or not. When airport is enabled then this bug occurs.On this thread,
http://discussions.apple.com/thread.jspa?messageID=349
2852, people that have Check Point Software's
SecureClient are reporting the airport process using
~95% of CPU time.
I had SecureClient installed and I can confirm that
if you uninstall SecureClient, the airport process
works normally again. I don't know if this is the
only source of this problem, but if you happen to
have SecureClient, then you might want to uninstall
and confirm if this solves your problem.
Also I would be curious if anyone is having this
problem that has never had SecureClient, or any 3rd
party VPN software.
I can confirm that at least some of my problem with the "airport" process was related to VPN software. After uninstalling the Cisco VPN client, problems dramatically reduced. Interestingly, I still have the Checkpoint client installed, but only rarely see problems with "airport".
MBP 2.0 GHz Mac OS X (10.4.8)
Maybe you are looking for
-
How to change Data type of Grid column at runtime..??
Hi , I have taken a "Grid" control,and i have pass a query "Select itemcode Qunatity,linetotal From PDN1" in the ExecuteQuery method of Grid it displaying the data, but the problem is i want to change the Datatype of this column from "FLOAT"
-
Order with BAPI_SALESORDER_CREATEFROMDAT2
Hi. i am making a sales order with the bapi BAPI_SALESORDER_CREATEFROMDAT2. the order is created but the items haven't any quantity. i fill the fields for items: itm_number, material, target_qty and TARGET_QU. i don't know if i need to fill any mor
-
Connection issue from sqldeveloper to Oracle Database 10g
I have installed Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 on my machine having platform Windows vista Now i have install sqldeveloper but i am not able to connect to oracle databse. GETTING AN ERROR Network adapter could not make it
-
Measuring point reading conversion from FLTP to Decimal
Hi Friends, I want to create view for measuring document (Plant Maintenance). In view I want to select following fields. Counter Reading Measurement Reading/Total Counter Reading Counter Reading Difference All above columns have data type FLTP where
-
How call a jsp from oracle10g forms.
Hi, I am using oracle10g forms.can i call a jsp from oracle10g form? if it is possible how i call a jsp?how i call back form from jsp? thanks. Edited by: Arulselvan Dharmalingam on Apr 27, 2010 8:21 PM Edited by: Arulselvan Dharmalingam on Apr 27, 20