Bitmap data vs memory usage
Simple question
Usign cacheAsBitmap is usedfull in many case. I just
wondering if the memory usage used when a clip is set to true will
be free when the clip will be removed from the timeline.
I want to used cacheAsBitMap for some clip, but don't want to
load all the computer memory when the user come on my website.
Tanx for you help
Hi Pierre,
It sounds like the Windows user interface (UI) thread is requiring a lot of the CPU to update the front panel of your VI. When you minimize the screen and the UI doesn't need to update, you see a much lower CPU usage. So, there are a couple of changes you can probably make in your code to make the UI require less CPU to update. What types of front panel objects is your code using? If indicators are updating within a loop, can you change the code to make them update less often?
Product Support Engineer
National Instruments
Similar Messages
-
How to reduce memory usage when loading bitmaps from the library?
When I use BitmapData.loadBitmap() to load an image from the library and then attachBitmap() to add it to a MovieClip it takes a lot more memory as opposed to just having the same image inside a MovieClip statically in a frame on it's timeline.
The function dispose() not only clears the BitmapData object but also destroys the previously attached bitmap inside the MovieClip, so it can not be used to free any memory.
Is it how it is supposed to be or is there any other way to dynamically attach bitmaps with memory usage comparable to just having them on stage?no, you use attachMovie() to create instance from library movieclips that have a linkage id.
you can then create a bitmapdata instance and use the draw() method to overlay as many as needed. -
I end up having to take a lot of high sample rate data for relativily long periods of time. When I save the data it is usually over 100 MB. When I load the data for post-processing though the amount of memory used is excessively higher than the file size. This causes my computer to crash because 1.5 GB is not enough. Is there a way to stop this from happening withoput splitting up the file into smaller files.
LabVIEW can efficiently handle large files, far beyond 100Mb, provided that care is taken in the coding of the loading/processing routines. Here are several suggestions:
1) Check out the resources National Instruments has put together (NI Developer Zone > Development Library > Measurement and Automation Software > LabVIEW > Development System > Optimizing Applications > Managing Memory), specifically the article entitled "Managing Large Data Sets in LabVIEW".
2) Load and process the data in chunks if possible.
3) Avoid sending the data to front panel indicators, using local/global variables for data storage, or changing data types unless absolutely necessary.
4) If using LabVIEW 7.1, use the "show buffer" tool to determine when LabVIEW is creating extra
copies of data in memory. -
Problem with JTree and memory usage
I have problem with the JTree when memory usage is over the phisical memory( I have 512MB).
I use JTree to display very large data about structure organization of big company. It is working fine until memory usage is over the phisical memory - then some of nodes are not visible.
I hope somebody has an idea about this problem.55%, it's still 1.6Gb....there shouldn't be a problem scanning something that it says will take up 300Mb, then actually only takes up 70Mb.
And not wrong, it obviously isn't releasing the memory when other applications need it because it doesn't, I have to close PS before it will release it. Yes, it probably is supposed to release it, but it isn't.
Thank you for your answer (even if it did appear to me to be a bit rude/shouty, perhaps something more polite than "Wrong!" next time) but I'm sitting at my computer, and I can see what is using how much memory and when, you can't. -
Memory usage of excel stays high after Macro is executed and excel crashes after trying to close it
Hi,
I'm trying to resolve an issue with an excel based tool. The macros retrieve data from an Oracle database and do calculations with the data. They also open and write into files in the same directory. The macros all run and finish the calculations. I can
continue to use and modify the sheet. I can also close the workbook, however excel memory usage I see in the windows Task manager stays elevated.If I close Excel it says: Excel stopped working and then it tries to recover information...
I assume something in the macro did not finish properly and memory was not released. I would like to check what is still open (connection, stream or any other object) when I close the workbook I would like to have a list of all still used memory. Is there
a possibility to do so.
Here the code I'm using, its reduced to functions which open something. Functions
get_v_tools() and get_change_tools() are same as get_client_positions().
Public conODBC As New ADODB.Connection
Public myPath As String
Sub get_positions()
Dim Src As range, dst As range
Dim lastRow As Integer
Dim myPath As String
lastRow = Sheets("SQL_DATA").Cells(Sheets("SQL_DATA").rows.Count, "A").End(xlUp).Row
Sheets("SQL_DATA").range("A2:AD" & lastRow + 1).ClearContents
Sheets("SQL_DATA").range("AG2:BE" & lastRow + 2).ClearContents
Sheets("SQL_DATA").range("AE3:AF" & lastRow + 2).ClearContents
k = Sheets("ToolsList").Cells(Sheets("ToolsList").rows.Count, "A").End(xlUp).Row + 1
Sheets("ToolsList").range("A2:M" & k).ClearContents
'open connection
Call open_connection
lastRow = Sheets("SQL_DATA").Cells(Sheets("SQL_DATA").rows.Count, "A").End(xlUp).Row
If lastRow < 2 Then GoTo ErrorHandling
'copy bs price check multiplications
Set Src = Sheets("SQL_DATA").range("AE2:AF2")
Set dst = Worksheets("SQL_DATA").range("AE2").Resize(lastRow - 1, Src.columns.Count)
dst.Formula = Src.Formula
On Error GoTo ErrorHandling
'new prices are calculated
newPrice_calculate (lastRow)
Calculate
myPath = ThisWorkbook.Path
'Refresh pivot table in Position Manager
Sheets("Position Manager").PivotTables("PivotTable3").ChangePivotCache ActiveWorkbook. _
PivotCaches.Create(SourceType:=xlDatabase, SourceData:= _
myPath & "\[Position_Manager_v1.0.xlsm]SQL_DATA!R1C2:R" & lastRow & "C31" _
, Version:=xlPivotTableVersion14)
ErrorHandling:
Set Src = Nothing
Set dst = Nothing
If conODBC.State <> 0 Then
conODBC.Close
End If
End Sub
Sub open_connection()
Dim sql_data, sql_data_change, sql_data_v As Variant
Dim wdth, TotalColumns, startRow As Integer
Dim rst As New ADODB.Recordset
Errorcode = 0
On Error GoTo ErrorHandling
Errorcode = 1
With conODBC
.Provider = "OraOLEDB.Oracle.1"
.ConnectionString = "Password=" & pswrd & "; Persist Security Info=True;User ID= " & UserName & "; Data Source=" & DataSource
.CursorLocation = adUseClient
.Open
.CommandTimeout = 300
End With
startRow = Sheets("SQL_DATA").Cells(Sheets("SQL_DATA").rows.Count, "A").End(xlUp).Row + 1
sql_data = get_client_positions(conODBC, rst)
wdth = UBound(sql_data, 1)
Sheets("SQL_DATA").range("A" & startRow & ":AA" & wdth + startRow - 1).Value = sql_data
'Run change tools instruments
startRow = Sheets("ToolsList").Cells(Sheets("ToolsList").rows.Count, "A").End(xlUp).Row + 1
sql_data_change = get_change_tools(conODBC, rst)
wdth = UBound(sql_data_change, 1)
Sheets("ToolsList").range("A" & startRow & ":M" & wdth + startRow - 1).Value _
= sql_data_change
'open SQL for V tools instruments
startRow = Sheets("ToolsList").Cells(Sheets("ToolsList").rows.Count, "A").End(xlUp).Row + 1
sql_data_v = get_v_tools(conODBC, rst)
wdth = UBound(sql_data_v, 1)
Sheets("ToolsList").range("A" & startRow & ":L" & startRow + wdth - 1).Value = sql_data_v
conODBC.Close
ErrorHandling:
If rst.State <> 0 Then
rst.Close
End If
Set rst = Nothing
End Sub
Private Function get_client_positions(conODBC As ADODB.Connection, rst_posi As ADODB.Recordset) As Variant
Dim sql_data As Variant
Dim objCommand As ADODB.Command
Dim sql As String
Dim records, TotalColumns As Integer
On Error GoTo ErrorHandling
Set objCommand = New ADODB.Command
sql = read_sql()
With objCommand
.ActiveConnection = conODBC 'connection for the commands
.CommandType = adCmdText
.CommandText = sql 'Sql statement from the function
.Prepared = True
.CommandTimeout = 600
End With
Set rst_posi = objCommand.Execute
TotalColumns = rst_posi.Fields.Count
records = rst_posi.RecordCount
ReDim sql_data(1 To records, 1 To TotalColumns)
If TotalColumns = 0 Or records = 0 Then GoTo ErrorHandling
If TotalColumns <> 27 Then GoTo ErrorHandling
If rst_posi.EOF Then GoTo ErrorHandling
l = 1
Do While Not rst_posi.EOF
For i = 0 To TotalColumns - 1
sql_data(l, i + 1) = rst_posi.Fields(i)
Next i
l = l + 1
rst_posi.MoveNext
Loop
ErrorHandling:
rst_posi.Close
Set rst_posi = Nothing
Set objCommand = Nothing
get_client_positions = sql_data
End Function
Private Function read_sql() As String
Dim sqlFile As String, sqlQuery, Line As String
Dim query_dt As String, client As String, account As String
Dim GRP_ID, GRP_SPLIT_ID As String
Dim fso, stream As Object
Set fso = CreateObject("Scripting.FileSystemObject")
client = Worksheets("Cover").range("C9").Value
query_dt = Sheets("Cover").range("C7").Value
GRP_ID = Sheets("Cover").range("C3").Value
GRP_SPLIT_ID = Sheets("Cover").range("C5").Value
account = Sheets("Cover").range("C11").Value
sqlFile = Sheets("Cover").range("C15").Value
Open sqlFile For Input As #1
Do Until EOF(1)
Line Input #1, Line
sqlQuery = sqlQuery & vbCrLf & Line
Loop
Close
' Replace placeholders in the SQL
sqlQuery = Replace(sqlQuery, "myClent", client)
sqlQuery = Replace(sqlQuery, "01/01/9999", query_dt)
sqlQuery = Replace(sqlQuery, "54747743", GRP_ID)
If GRP_SPLIT_ID <> "" Then
sqlQuery = Replace(sqlQuery, "7754843", GRP_SPLIT_ID)
Else
sqlQuery = Replace(sqlQuery, "AND POS.GRP_SPLIT_ID = 7754843", "")
End If
If account = "ZZ" Then
sqlQuery = Replace(sqlQuery, "AND AC.ACCNT_NAME = 'ZZ'", "")
Else
sqlQuery = Replace(sqlQuery, "ZZ", account)
End If
' Create a TextStream to check SQL Query
sql = sqlQuery
myPath = ThisWorkbook.Path
Set stream = fso.CreateTextFile(myPath & "\SQL\LastQuery.txt", True)
stream.Write sql
stream.Close
Set fso = Nothing
Set stream = Nothing
read_sql = sqlQuery
End FunctionThanks Starain,
that's what I did the last days and found that the problem is in the
newPrice_calculate (lastRow)
function. This function retrieves data (sets it as arrays) which was correctly pasted into the sheet, loops through all rows and does math/calendar calculations with cell values using an Add-In("Quantlib")
Public errorMessage as String
Sub newPrice_calculate(lastRow)
Dim Type() As Variant
Dim Id() As Variant
Dim Price() As Variant
Dim daysTo() As Variant
Dim fx() As Variant
Dim interest() As Variant
Dim ObjCalend as Variant
Dim newPrice as Variant
On Error GoTo Catch
interest = Sheets("SQL_DATA").range("V2:V" & lastRow).Value
Type = Sheets("SQL_DATA").range("L2:L" & lastRow).Value Id = Sheets("SQL_DATA").range("M2:M" & lastRow).Value Price = Sheets("SQL_DATA").range("T2:T" & lastRow).Value
daysTo = Sheets("SQL_DATA").range("K2:K" & lastRow).Value
fx = Sheets("SQL_DATA").range("U2:U" & lastRow).Value
qlError = 1
For i = 2 To lastRow
If (i, 1) = "LG" Then
'set something - nothing spectacular like
interest(i, 1) = 0
daysTo(i , 1) = 0
Else
adjTime = Sqr(daysTo(i, 1) / 365)
ObjCalend(i,1) =Application.Run("qlCalendarHolidaysList", _
"CalObj", ... , .... other input parameters)
If IsError(ObjCalend(i,1)) Then GoTo Catch
'other calendar calcs
newPrice(i,1) = Application.Run( 'quantLib calcs)
End If
Catch:
Select Case qlError
Case 1
errorMessage = errorMessage & " QuantLibXL Cal Error at: " & i & " " & vbNewLine & Err.Description
ObjCalend(i,1) (i, 1) = "N/A"
End Select
Next i
Sheets("SQL_DATA").range("AB2:AB" & lastRow).Value = newPrice
'Sheets("SQL_DATA").range("AA2:AA" & lastRow).Value = daysTo
' erase and set to nothing all arrays and objects
Erase Type
Erase id
Erase Price
Set newPrice = Nothing
Is there a possibility to clean everything in:
Private Sub Workbook_BeforeClose(Cancel As Boolean)
End Sub
Thanks in advance
Mark -
TOP - Pageouts and memory usage.
Looks like I have plenty of memory for what I am doing. But What do the cumulative numbers around pagein's mean?
Processes: 80 total, 7 running, 3 stuck, 70 sleeping... 523 threads 15:20:14
Load Avg: 1.99, 1.53, 1.37 CPU usage: 10.33% user, 9.00% sys, 80.67% idle
SharedLibs: num = 5, resident = 13M code, 0 data, 1468K linkedit.
MemRegions: num = 32848, resident = 2116M + 18M private, 877M shared.
PhysMem: 1853M wired, 2116M active, 3466M inactive, 7439M used, 753M free.
VM: 19G + 284M 332461(0) pageins, 47(0) pageouts
PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE
12256 top 11.1% 0:14.05 1 18 40 684K 820K 1392K 18M
12238 bash 0.0% 0:00.01 1 14 19 276K 184K 916K 18M
12237 login 0.0% 0:00.02 1 17 136 908K 8724K 3164K 32M
12236 Terminal 1.7% 0:01.45 3 99 433 5264K+ 49M+ 21M+ 419M+
12225 SyncServer 0.0% 0:00.15 2 50 290 3512K 41M 12M 88M
11248 WinAppHelp 0.0% 0:00.40 1 51 289 3208K 40M 11M 339M
11027 Skype 0.0% 0:19.47 31 313 865 46M 76M 88M 557M
10315 PrinterPro 0.0% 0:00.83 2 85 476 12M 51M 29M 423M
10313 launchd 0.0% 0:01.25 3 24 25 120K 296K 464K 18M
8626 QuickTime 0.0% 17:21.09 5 187 655 13M 67M 43M 486M
8556 DashboardC 0.0% 0:06.31 4 124 538 16M 58M 38M 436M
8555 DashboardC 0.0% 0:10.95 4 149 545 23M 58M 49M 444M
8534 Livestatio 16.8% 59:00.13 12 198 771 30M- 94M 62M 584M
8220 Mail 0.0% 0:43.91 27 323 968 24M 94M 80M 554M
2806 Python 0.8% 5:20.05 2 33 281 13M- 248K 14M- 36M-
2761 Transmissi 0.9% 2:49.17 21 270 773 20M 90M 56M 506MAbout OS X Memory Management and Usage
Reading system memory usage in Activity Monitor
Memory Management in Mac OS X
Performance Guidelines- Memory Management in Mac OS X
A detailed look at memory usage in OS X
Understanding top output in the Terminal
The amount of available RAM for applications is the sum of Free RAM and Inactive RAM. This will change as applications are opened and closed or change from active to inactive status. The Swap figure represents an estimate of the total amount of swap space required for VM if used, but does not necessarily indicate the actual size of the existing swap file. If you are really in need of more RAM that would be indicated by how frequently the system uses VM. If you open the Terminal and run the top command at the prompt you will find information reported on Pageins () and Pageouts (). Pageouts () is the important figure. If the value in the parentheses is 0 (zero) then OS X is not making instantaneous use of VM which means you have adequate physical RAM for the system with the applications you have loaded. If the figure in parentheses is running positive and your hard drive is constantly being used (thrashing) then you need more physical RAM. -
Hi!
I would like to know if there is any way of getting system CPU and memory usage using Java code.I want to get the system CPU and memory usage using the performance monitor dll, the perfctrs.dll, but access this data using Java language.Then you should create wrapper dll between your java code and perfctrs.dll and convert data from format of dll to format of your java code.
So, that is next question - how to create wrapper dll, how to deal with or how perfctrs.dll works? -
Tracking Memory usage on iOS using the Stats class
I've been checking memory usage on an app I'm developing for iOS using the Stats class https://github.com/mrdoob/Hi-ReS-Stats ( http://help.adobe.com/en_US/as3/mobile/WS4bebcd66a74275c3-315cd077124319488fd-7fff.html#WS 948100b6829bd5a61637f0a412623fd0543-8000).
I added the Stats class to my project and redeployed and, yikes, memory usage reported in Stats creeps up (pretty slowly) even when there's nothing happening in the app (just showing a loaded bitmap).
To try and track down the issue I created a project with a test class that extends Sprite with just this single call in the constructor :-
addChild( new Stats() );
I deployed it to the device to check that it didn't gobble any memory.
But I was Suprised to watch the memory usage creep up and up (to approx 5) before some garbage collection kicked in and takes memory back down. I left it running and then it crept up again to over 7.5 this time before being kicked back down to just below 3.
So 2 related questions that I'd appreciate any feedback/observations/thoughts on :-
1 - Is this normal (i.e. memory creeping up when there's nothing other than Stats in the project) ?
2 - What is the best way to monitor memory usage within an app ? Is Stats good enough - is Stats itself causing the memory usage ?
All the best guys !Also see thread (http://forums.adobe.com/message/4280020#4280020)
My conclusions are :-
- If you run an app and leave it idle, memory usage gradually creeps up (presumably as memory is being used to perform calcs/refresh the display etc)
- Periodically the garbage collection kicks in and memory is brought back down
- This cycle could be in excess of 5 mins
Run with your real app and memory will increase and be released much more rapidly/regularly.
- It's probably worth performing initial checks by running on your desktop to iron out any initial problems -
I have 6GB of ram, a fresh install of Windows 7 x64, and the screenshot shows what happens after leaving my PC on for a couple days. (3782+MB being used by modified memory ATM).
http://wow.deconstruct.me/images/ExcessiveMemory.jpg
Any ideas on this?
Edit:
Added this after first round of suggestions
http://wow.deconstruct.me/images/NotSoExcessiveMemory.jpg
This is uptime of around 2 hours.
The first image is of uptime of around 3-5 days.Matthew,
The only reason why these pages are kept on the modified list indefinitely is because the system doesn't have any available pagefile space left. If you increase the size of the pagefile the system will write most of these pages to disk and then move them from the modified list to the standby list. Standby pages are considered part of "available memory", because they can be reused for some other purpose if necessary.
Whether this would "fix" the problem or not depends on what the actual problem is. If it's an unbound memory leak then increasing the size of the pagefile will simply allow the system to run longer before it eventually hits the maximum pagefile size limit, or runs out of disk space. On the other hand, if it's a case of some application allocating a lot of memory and not using it for a long time, then increasing the pagefile might be a perfectly valid solution.
Allowing the system to manage the size of the pagefile actually works well in most cases. Pagefile fragmentation (at the filesystem level) can only occur when the initially chosen size is not large enough and the system has to extend it at run time. For win7 we have telemetry data that shows that even for systems with 1 GB of RAM, less than 0.1% of all boot sessions end up having to extend the pagefile, and this number is even lower for larger amounts of RAM. If you think you are in that 0.1% and your pagefile might be getting fragmented, you can manually increase its minimum size such that the total system commit charge stays below 80% even if you run all your apps at once (80% is the threshold at which the pagefile is automatically extended). This will make sure the pagefile is created once and then stays at the same size forever, so it can't fragment. The maximum size can either be set to the same value as the minimum, or you can make it larger so that the system is more resilient to memory leaks or unexpectedly high loads.
By the way, Windows doesn't use pagefiles as "extra memory", it uses them as a backing store for private pages, just like regular files are used as a backing store for EXEs/DLLs and memory mapped files. So if the system really has more than enough RAM (like in your second screenshot, where you have 3.6 GB of free pages) you shouldn't see any reads from the pagefile. You can verify this by going to the Disk tab in the resource monitor and looking for any disk IO from pagefile.sys. On smaller systems that don't have an excess of free pages you may see periodic reads from the pagefile, and this is expected because the total amount of data referenced by the OS/drivers/processes is larger than the total RAM. Forcefully keeping all pagefile-backed pages in memory (which is what disabling the pagefile does) would simply mean some other pages (memory mapped files, DLL code or data etc) would have to be paged out.
Regarding further troubleshooting steps: If the system runs fine with a larger pagefile (commit charge stabilizes well below 80%, and you no longer see gigabytes of modified pages accumulating in memory) then you don't really need to do anything. If the problem persists, you can check for any processes with an abnormally high commit charge, and also check kernel memory usage in task manager. If it's a kernel leak you can usually narrow it down to a particular driver using poolmon.exe or kernel debugger. -
Problem with memory usage and CPU usage
Hello,
i have a problem with the memory usage and cpu usage in my project!
My application must run for more than 24 hrs. The problem is that the longer it runs the bigger is the memory and cpu usage!
It starts with ~15% CPU usage and ~70 MBytes memory usage. After ~ 24hrs the CPU usage is ~60% and the memory usage is ~170 MBytes!
After 3 days the CPU usage is almost about 70% and the memory usage is about 360 MBytes!
What can I do to reduce this huge recource usage?
Thank you!Hi Pahe,
I think the issue is memory usage, since CPU usage can increase due to greater memory requirements.
Anyway, it's difficult to debug without seeing your code, can you post it (possibly for LV 7.1 compatibility)? Or just post a JPEG of the piece of code that can give problems...
I guess you're appending data to an array instead of replace data elements, but I can't be sure...
Have a nice day!
graziano -
SA520W - High memory usage, possible fix in 2.2.0 firmware?
As suggested by Thomas Watts, I'm starting a new thread to discuss the new SA520W firmware (2.2.0) and a possible resolution to high memory usage I'm experiencing on my network.
My current setup is: 16Mbit DSL > SA520W > SA300-10, all with stock settings (no fancy VLAN's etc.)
I have 4 CentOS 5/6 servers and a Windows 7 Ultimate station connected to the switch. I use CIFS to connect from Windows station to the other Linux servers and send large files. I currently notice the following behavior:
When the file transfer starts, the Intel 1Gbit NIC is nearly saturated, hitting 115MB/sec. After few seconds, the data transfer comes to a halt and the transfer speed drops to around 50MB/sec. If I check the memory usage before the file transfer, it is approximately to 50-60% (on a fresh router reboot). Every time I send large files to other machines, the router memory consumption increases and it does not lower after a reasonable delay. I end-up with high memory near 90% and the only solution I have is to reboot the router in order to bring it back to 50%.
Now, Thomas told me that this is simply a cosmetic issue, the memory is not actually 90% used. Yet, when the memory hits this threshold, I'm not capable to send files are normal LAN speeds I'm used to. Rebooting the router allows me to send only ONCE (and for few seconds) data at the expected LAN speeds.
I would apreciate any input from Cisco engineers as well other users who experience the same issue. I would also like to know if any related work was done into 2.2.0 firmware and when we expect to have it released to users.
Regards,
Floren MunteanuHi Tom,
See below the answers.
Are you currently running the 2.1.71 code?
Yes
Are you using IPS?
No, the LAN is for internal use (no external users allowed)
Are you using Protectlink services?
No
Hardware wise, I did not changed anything on machines. All boxes have dual Intel EXPI9301CT NIC's (LACP was planned) but I currently use single connections for sanity reasons (disks won't allow greater speeds anyway). Previous to Cisco, I used a Netgear ProSafe router + switch which did not encountered the issues I mention. Honestly, at first I thought I'm dealing with some stupid disk issues on Windows. So I ran a quick test and the stats are proper:
> winsat disk -drive c
> Disk Sequential 64.0 Read 109.62 MB/s 6.5
> Disk Random 16.0 Read 2.47 MB/s 4.4
> Responsiveness: Average IO Rate 2.12 ms/IO 6.9
> Responsiveness: Grouped IOs 8.34 units 7.4
> Responsiveness: Long IOs 5.59 units 7.7
> Responsiveness: Overall 46.63 units 7.1
> Responsiveness: PenaltyFactor 0.0
> Disk Sequential 64.0 Write 117.03 MB/s 6.7
> Average Read Time with Sequential Writes 6.977 ms 5.3
> Latency: 95th Percentile 32.720 ms 3.0
> Latency: Maximum 118.231 ms 7.6
> Average Read Time with Random Writes 13.346 ms 3.7
> Total Run Time 00:01:39.50
As I mentioned before, everything is pretty much stock on router/switch settings. If you have any tips that allow me to identify the cause, I would appreciate the input. What puzzles me is the speed drop and quick memory usage increase. It occurs 7-10 seconds after the transfers begins. It looks like the data transfer hangs for a very short period of time (less than half of second) and the transfer speed decreases from 110-115MB/sec to 50-60MB/sec. The transfer is completed at this speed. No matter how many other files I try to transfer after, the speed won't go higher than 60MB/sec. If I reboot the router, I get the same cycle. -
Slow performance, weird memory usage, hanging when closing safari tab
Hi, i recently noticed that my MacBoo Pro was with low performance after some hours of use.
I'm a heavy user, so I try to monitor what might be causing it. What i note was:
After restart (or fresh start), my computer was ok;
I use applications like adobe Lightroom and VMWare Fusion;
Then I star feeling like Safari was too slow to open pages - I thought it was the internet link first, but even local webpages are slow. I notice that when a click to close a tab, it take almost 2 sec to do it. The same when click to open any link on that page.
I start the activity monitor, but my proc usage are low. Then, I notice the (weird) memory usage:
Take a look at "memory used". I closed all applications before take this screenshot. i've trying to identify what is consuming this memory, but.. no success.
Anyone has any idea what can might be causing it?
My HW information:
all my apps are updated.Memory usage was normal when you took that screenshot.
When you have the problem, 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. Click Utilities, then Console in the icon grid.
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. -
Internet Explorer - Memory Usage
Hi,
I have developed a VC model and deployed it in the portal. When i execute the model in internet explorer 7 or 6, the memory usage keeps building up and does not drop even after getting all the data. I have got couple of popup iviews in the model which when executed increases the memory usage further more and eventually internet explorer stops responding.
Currently the only way to clear the memory is to close the Internet explorer window. Is there any other way to flush out the memory after the data has been retrieved from the back-end.
Regards,
Ravi.Hi Ravi,
I googled in and found few links which can be helpful to you.
http://cybernetnews.com/browser-comparison-internet-explorer-firefox-chrome-safari-opera/ - which is all abut the memory tests which were conducted for various browsers including ie regarding the usage of memory.
http://www.bigresource.com/PHP-Flush-clearing-buffer-3rXPLSop.html
http://www.wimpyplayer.com/docs/howto/clear_cache.html - which tells about the way to flush out the browser memory for better usage.
With Regards,
Vipin Vijayan. -
High RAM memory usage compared to other systems
I'm suffering with memory usage problems, only in open 2 tabs of facebook(it's only for example, any 'heavy' page freeze also) in firefox*(for example also, but this occur in chromium also) freeze computer.
I've 1GB of memory, it isn't big but also isn't very little.
I'm using XFCE with compiz (yes, compiz, since use a very lightweight openbox-based session doesn't help, then compiz...) when system start (after login) system is consuming 130MB approximately of RAM.
after 1 hour if close all open apps and see memory usage again consume is something about 350MB, "only solution" is reboot.
all applications(htop,free -m,xfce's system monitor...) that I've tried to monitor memory usage show above scenario, except the 'ps_mem' script in AUR.
in the 'ps_mem' script the result is following (with opera browser open, less memory offensive browser but I really prefer firefox):
Private + Shared = RAM used Program
88.0 KiB + 10.0 KiB = 98.0 KiB agetty
380.0 KiB + 34.5 KiB = 414.5 KiB sshd
408.0 KiB + 93.0 KiB = 501.0 KiB gpg-agent (2)
372.0 KiB + 142.0 KiB = 514.0 KiB avahi-daemon (2)
456.0 KiB + 60.0 KiB = 516.0 KiB systemd-logind
280.0 KiB + 261.0 KiB = 541.0 KiB sh
476.0 KiB + 103.5 KiB = 579.5 KiB xfconfd
476.0 KiB + 153.5 KiB = 629.5 KiB gvfsd
604.0 KiB + 34.5 KiB = 638.5 KiB systemd-udevd
588.0 KiB + 102.5 KiB = 690.5 KiB dbus-launch (3)
576.0 KiB + 119.5 KiB = 695.5 KiB sudo
668.0 KiB + 77.5 KiB = 745.5 KiB cups-browsed
620.0 KiB + 179.5 KiB = 799.5 KiB at-spi2-registryd
804.0 KiB + 67.0 KiB = 871.0 KiB htop
756.0 KiB + 131.0 KiB = 887.0 KiB gconfd-2
800.0 KiB + 126.0 KiB = 926.0 KiB upowerd
752.0 KiB + 183.5 KiB = 935.5 KiB xscreensaver
920.0 KiB + 85.0 KiB = 1.0 MiB cupsd
876.0 KiB + 241.0 KiB = 1.1 MiB gvfsd-fuse
692.0 KiB + 429.0 KiB = 1.1 MiB systemd-journald
880.0 KiB + 273.5 KiB = 1.1 MiB at-spi-bus-launcher
1.2 MiB + 125.0 KiB = 1.3 MiB udisksd
1.4 MiB + 486.5 KiB = 1.9 MiB dbus-daemon (5)
1.4 MiB + 533.5 KiB = 1.9 MiB panel-6-systray
1.5 MiB + 430.0 KiB = 2.0 MiB lightdm (2)
1.6 MiB + 572.0 KiB = 2.1 MiB xfce4-session
1.5 MiB + 683.0 KiB = 2.2 MiB panel-5-datetim
1.5 MiB + 706.5 KiB = 2.2 MiB panel-2-actions
1.6 MiB + 723.0 KiB = 2.3 MiB panel-4-systeml
2.0 MiB + 543.5 KiB = 2.5 MiB xfsettingsd
2.0 MiB + 579.5 KiB = 2.6 MiB systemd (3)
2.3 MiB + 815.0 KiB = 3.1 MiB emerald
2.8 MiB + 578.5 KiB = 3.3 MiB gnome-keyring-daemon (3)
3.2 MiB + 946.5 KiB = 4.1 MiB zsh (2)
16.1 MiB + -12144.0 KiB = 4.2 MiB polkitd
4.1 MiB + 465.0 KiB = 4.6 MiB notify-osd
4.5 MiB + 1.6 MiB = 6.2 MiB xfce4-panel
5.1 MiB + 1.2 MiB = 6.3 MiB panel-7-mixer
7.7 MiB + 1.4 MiB = 9.0 MiB xterm (2)
12.0 MiB + 636.0 KiB = 12.6 MiB opera:libflashp
24.3 MiB + -10774.5 KiB = 13.8 MiB Xorg
18.6 MiB + 1.1 MiB = 19.7 MiB gnome-do (2)
23.2 MiB + 2.4 MiB = 25.6 MiB compiz
168.4 MiB + 3.2 MiB = 171.7 MiB opera
320.1 MiB
=================================
as you can see in 'ps_mem' memory usage isn't nothing absurdly it's ok.
another example, this problem stop me make certain things, for example is impossible browsing in web while programming in eclipse, this is very uncomfortable.
other thing, this not occur in Windows XP, I can open more than 10 tabs in firefox, and eclipse open, etc...
any needing information, tell-me!
firefox*: with memory cache turned off in about:config
Last edited by hotvic (2013-08-12 17:42:21)hotvic, could you please change the title to something more descriptive? 'memory problems' sounds like you have problems e.g. remembering / recalling things, which is not an Arch issue ;P
kenny3794 wrote:
I've had some limiting performance with browsers lately (Firefox and Chromium). I found it had a considerable cache size utilizing lots of fragmented space on my home directory. I cleared the cache and have since set a limit to the cache size of 30 MB for Firefox. Between multiple users across multiple browser sessions, I had at least 2 GB of cache data on my 10 GB home partition! So far (1 day), this has been helpful. Perhaps this could help you also?
Ken
OP is talking about RAM, not HDD space. -
Network stream fxp excess memory usage and poor performance
I'm trying to stream some datas à highspeed rate (3 channels à 1Mbytes/s) from my 9030 to my windows host. Because i don't need to use data on the rt side, i choose to forward FXP <+-,24,5> to my host throug a network stream.
To avoid data loose i choose to use a wide buffer of 6000000 with this buffer my memory usage grow from 441mo to 672Mo and my rio is unable to stream the data.
With sgl or double, memory usage is 441 to 491Mo and datas can be streamed continusly.
Anyone have encoutered this problem?SQL Developer is java based and relies on the jvm's memory management.
I'm not aware of any memory leaks as such, but memory tends not to be returned to the system.
Queries which return large return sets tend to use a lot of memory (SQL Developer has to build a java table containing all the results for display).
You can restrict the maximum memory allocated by modifying settings in in <sqldeveloper>\ide\bin\ide.conf
The defaults are -
AddVMOption -Xmx640M
AddVMOption -Xms128M
Maybe you are looking for
-
All my webpages on firefox have about 2 inches of empty space on both sides of the screen, but on Internet Explorer there is much less empty space or mostly none at all. How do i fix this?
-
Hi Guys I'm running the CS6 Master Collection on Win7 64bit, which was installed during May. Today I tried to open a pdf document and although it shows in the browser preview pane, the document would not open. I then found the same trying to open oth
-
Sending in my 3g for repair, can i upgrade to 3gs?
Hi, i will me mailing in my iphone 3G for replacment monday, is there anyway i can request an upgrade and pay the difference for a 3GS? Thanks
-
OCIEnvNlsCreate failed with return code -1
Hi, we're getting this error when running SQL Server 2005 Reporting Services to connect to an Oracle 9i database. The report works fine locally but breaks on the web. Another user has posted about this same exact issue to Microsoft's SSRS forum, but
-
When I access "Account Info" in Mail (command-i), my gMail POP accounts show zero messages. This doesn't happen with Yahoo POP mail, or with my local ISP's mail. Is this an issue with Mail, or with gMail? And, is there a workaround? Thanks, Dave