I am unable to clear memory. Usage, in Settings, just spins. I have erased pics and that did nothing.
I Am unable to clear memory.
If you deleted photos from the Camera Roll album they may still be on your iPad. Check the Photos app and look for the Recently Deleted album. Photos reside there for 30 days in case you want them back. If you are sure that you want to delete the photos deleted them from the Recently Deleted album.
Similar Messages
-
I have an iPhone 4 and am in Nepal. My phone was previously able to connect to wifi, but now is unable. I have an iPad and that is able to connect just fine. This problem is with every wifi hotspot I have tried so it is the phone not the modem.
Try Settings > General > Reset > Reset Network Settings.
-
Hello,
I have created a web app. I'm using Ubuntu 10.04, Netbeans 6.9 and Tomcat 6 server.
My application is based on Apache Lucene search. (I'm not sure, maybe Lucene is causing my problem, but I doubt it.)
My problem is:
When I search for some data, for e.g a word which is String, I store the results in ArrayLists. But everytime I send a request to servlet, I clear arraylists by doing this:
ArrayList.clear();But my memory usage is rising on every search. And finally, I get my system using full memory.
Mem:
total used free shared buffers cached
4025 3860 164 0 54 1267What could cause this?
Maybe I have to clear "cached" somehow?
Edited by: peliukasss on Aug 24, 2010 11:39 AMpeliukasss wrote:
My problem is:
When I search for some data, for e.g a word which is String, I store the results in ArrayLists. But everytime I send a request to servlet, I clear arraylists by doing this:
ArrayList.clear();
That's most likely unnecessary, unless you're keeping references to those arraylists needlessly somewhere. You're not storing them into the session are you?
But my memory usage is rising on every search. And finally, I get my system using full memory.
Mem:
total used free shared buffers cached
4025 3860 164 0 54 1267What could cause this?The operating system uses the memory for caching and such if it can, because free memory has no intrinsic value. It can and will get rid of some cache if memory is required.
Maybe I have to clear "cached" somehow?No, that's what the operating system keeps cached. Java has nothing to do with that.
The actual used memory is seen on the second line, which counts out the buffers and cache, such as on my machine:
total used free shared buffers cached
Mem: 3837 3766 71 0 51 1640
-/+ buffers/cache: 2074 1762
Swap: 11240 378 10862Even though it might seem I have only 71 megabytes of free memory, there's actually 1.7GB free.
You can give less memory for tomcat if you don't want it to go that high, look into the starting options. But there's nothing bizarre about what you're seeing. -
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 -
I got a new nano l am unable to connect it on my computer, l have windows 8. I have deleted itunes and downloaded back on my computer, l still am unable to connect my nano to my computer.
When l put my nano on the computer itunes saids "Accessing Itunes" it is not connecting.
Please help me.
ThanksUninstalling and reinstalling iTunes has no affect on the media on the computer or the account it is linked to.
If the media was purchased under another iTunes account, then it is permanently tied to that account.
Using mulitple iDevices with one computer -
Unable to clear memory in C++ Managed application
I have written a win32 project and it internally calls C# forms(using /clr) to do few tasks.
Once the task is completed, the form is closed. But the problem is what ever memory is allocated after loading C# form is not getting cleaned up. I tried GC.Collect() in C# code to force the cleanup, but of no use.
Can anyone help me in resolving the issue?
C# code:public void close()
GC.Collect();
GC.WaitForPendingFinalizers();
GC.Collect();
C++ code:
frm = gcnew libry::Form1();
frm->ShowDialog();
frm->close();
delete frm;
frm = nullptr;
- Shiva.The memory allocated with gcnew in C++/CLR or with new in C# does not have to be freed programmatically, since it is managed by the system. If you need an explicit management, then also call
WaitForFullGCComplete before WaitForPendingFinalizers.
Memory leaks can be caused by incorrect management of native resources, such as allocations with
new or malloc in C++, which are not freed in the finaliser, which is a special member defined with “!”:
https://msdn.microsoft.com/en-us/library/ms177197(v=vs.100).aspx.
False leaks can be caused by missing using statements in C# or missing calls of
Dispose().
Do you really need to call Collect explicitly and do you have some suspicious native resources? -
I'm running an Intel Core Duo iMac with 10.5.8 and all updates.
The computer has been running slow, even after replacing the HDD a few months ago. I noticed last week in Activity Monitor that the process mDNSResponder was consuming several hundred MBs of memory. I searched, thinking it was malware, but found that it is the correct spelling of the process and is vital for Mac networking. I restarted the computer, and mDNSResponder shrunk to only consuming about 4MBs of memory.
I checked again a week later, and it's climbed back up to consuming 165MBs of memory, and seems to be climbing.
Is this normal? Between it and Safari, there's always at least 300MBs of memory being consumed, just being connected and using the internet.
I've read elsewhere that sometimes Brother printer drivers can cause mDNSResponder to consume much of the CPU; however, I don't have a Brother printer, and mDNSResponder isn't using any of the CPU currently. I couldn't find anything posted about a possible memory leak.
When I open the process in Activity Monitor, it says there are zero hangs.The amount of memory it's using is largely irrelevant - at least given the available data.
One of the things mDNSresponder does is cache DNS records, so of course it's going to use less memory after a restart (it has no cached data) than it is after a couple of weeks of runtime (it's cached a slew of lookups). In fact, generally you want this process to use memory since it improves overall performance.
The exception to that rule, of course, is if you don't have enough memory in your machine to do the other tasks, in which case that 165MB might be better used by other processes to reduce paging, but that isn't apparent from your post since you don't include any kind of memory stats. If you have plenty of memory available then the 165MB used by mDNSResponder isn't an issue.
Look more closely at your memory utilization and processes that have high CPU usage rather that ones with large memory footprints per se. -
just upgraded from 3GS to iphone 5 but am unable to transfer my photos the cloud says no photos there am worried that now the phone number is switched to new phone i will be unable to transfer any SIMPLE answere please
Welcome to the Apple community.
Are the photos that you are referring to part of a camera roll, photo stream or are they simply photos that you have synced from your computer via iTunes. -
Is there a fix to the parental control problem – in Mountain lion? I've been unable to change any control settings for months...should have kept the family PC...this IMAC is garbage at this point.
Although one would think that re-creating the index could fix this problem, that’s not the case. What sometimes works is restarting the computer or doing some cache-cleaning — don’t ask me why, and I don’t know how to fix the problem when that doesn’t work either.
You may also want to take a look at the following thread, where another user reported the problem in his/her case was related to a difference in how the email address was written:
Error - "... unable to find your response..." -
Hello? Anybody out there?
Brian.Nobles1
Ordinarily Photoshop Elements questions get referred to the Adobe Photoshop Elements Forum here.
But, I will put my Photoshop Elements hat on and give you the answer that I think (almost sure) will work for you.
Here goes. If it does not work, then back to the Premiere Elements hat.
Click on the Lasso Tool in the Photoshop Elements 11 Expert workspace. Look to the bottom of the workspace, to the Lasso
option panel. Make sure that the "Feather" is set at 0. The following is a screenshot when I had the Feather set greater than
0 and I made a relatively small selection with the Lasso Tool.
So, explore Feather 0 or Feather greater but larger selection. Consider Feather = 0.
Please let us know if any of that worked for you.
Thanks.
ATR -
I called Verizon before leaving the US and was told I could pay as I go for phone service with my iPhone 5. I cannot get on to any service here in Germany.
Verizon is CDMA. Use German GSM SIM to use your iPhone 5. Else call Verizon to address the issue.
-
I am unable to configure 3G,in cellular settings I do not have "enable 3G"
Hi,I have an iphone 4S,I subscribed to 3G service,but cannot configure the service,because in settings>cellular I dont have enable 3G.
Need help to find a solution.
ThanksThe "3G" option in Settings > Cellular does not show up in all areas. (I don't have it either.) It also only shows up on GSM phones.
Just do Settings > Celluar = "On". That should suffice. -
Before updating to 26.0 I did not have any Firefox backup account.
Hi bmfowler,
bookmarks are linked to your profile (irrespective of what FF version you are currently on) this profile should be left intact by an upgrade/downgrade.
First thing I would do would to be run -> %appdata%/Mozilla/Firefox/Profiles/ (standard profile location) to figure out whether the old profile (with the bookmarks) is still available. If so proceed with the
[https://support.mozilla.org/en-US/kb/Recovering%20important%20data%20from%20an%20old%20profile recovery].
Hope it helps.
Cheers,
jm -
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. -
High Page Pool Memory Usage on a Windows 2012 R2 Hyper-V Cluster
Hi,
may someone has a similar Problem or can give me a helping Hand.
I'm having a 9Node Cluster ( Windows 2012 R2 , fully Patched from RTM Version on )
The Cluster is connected to a SAN which is an Equallogic ( Firmware 6.11). HitKit Driver 4.7.1
The System running clean and without any Event Logs until the Page Pool Usage of the Nodes turn over 15 GB of Paged pool Memory.
I monitore that via a Performance Counter ( \Memory\Pool Paged Bytes)
otherwise I have no indication by for example the Process View, the Calculated Sum on the Overview ( TaskManager / Memory ) but shows on the contraditory the 15GB an Memory Usage.
I downloaded the RAMMap Tool from Sysinternals but that doesnt show me any possible Information for the information , acutally the Information differs from RAMMap to the Performance Counter ( RAMMap = 251MB, Performance Counter = 15GB )
Just to make that point clear , there is No Information beside the Sum of Page File on the System Page and the PerfCounter that so much Page Pool Memory is used by any Process . Therefor it is hidden which process "needs" it.
I tried many thinks , like search for a Memory Hole in the Drivers , Hyper-V Stack , Equallogic and hoped for resolution with any new Patch which had a "Memory Leak" Information to them , but so far none has made a difference , maybe someone
has the same Problem.
My Cluster has routher large VMs on it compared to the Numa Seize ( VM 4-128GB, on DELL R720 ( 2x CPU (8C) 384GB RAM )
( The VMs have also a High IO Usage , as there RAM is used as a RAM Database ( zb. Mongo DB ) )
Regards
MHi Alex,
there is something wrong here and not an "normal" Memory Leak , as for that reason I would see the amount of Page Pool Memory assigned to a given Process.
If that would be the Case I could use RAMMap or even Vmmap to adresse the Paged Pool usage, but those Tools dont reflect the Usage like the PerfCounter does.
The Windows Driver Kit for a 2012 R2 System is WDK 8.1 which has a necessity of VS2013 ( Important: Before
installing WDK 8.1 Update, you need to install Visual Studio 2013. See the Visual Studio links on this page.) My Last Hope was to get poolmon.exe and identify the Source for the "Paged Pool" Usage .
We are having that Problem now since the Early Days of Windows 2012R2 and because the Usage is quite "hidden" we only found out , when we ran out of Memory without knowing why.
Worst Usage Rates where up to 150GB of Paged Pool !! given a RAM 385GB ( Dell R720) that is quite a Number.
Im wondering if noone else with a cluster ( seems that the Node numbers in a Cluster and the "RAM" Seize of the VM ( >32GB ) have a tremendous impact on that given Problem , with a 4 Node Cluster the Problem isnt so big )
Maybe you are looking for
-
Mobile Data not working after 10.2.1.2941 update
I updated my BB Z 10 software to 10.2.1.2941 last night. It take a long and was stucked on Blackberry Logo for 3 hours after restart. I pressed Power button for 10 seconds and it got started after that. But now i am facing a strange problem my previo
-
How to convert a workflow background task into a general task ??
Dear Experts , I am working om std SAP workflow for invoice document parking : I have done the following activities : 1. Activate Work flow Template for Document Completion Here i activated the event "Complete the Parked Log. IV Document"--> In
-
I need to email more recipients than Mail will allow
I am trying to send newsletters to large numbers of recipients, but Mail won't let me go over a certain number. This is obviously for good reason, but if spammers can do it, there must be a way for me to do it. Do I need 3rd party software? Thanks! P
-
Copy database file local folder is not working in 11g
Hi, i am working on oracle forms 11g. the follwoing code is not working. could any one guide me to reslove the problem. declare lv_file_name varchar2(100); lv_command varchar2(200); begin lv_file_name := substr(:parameter.image_path,in
-
HRTRV_IF_MODIFY_TRIP - account authorization check in PR01?
I used the SAP standard function module HRTRV_IF_MODIFY_TRIP to modify the trip expenses for our customerized Travel Services online tool. In this function module, it called T code PR01 instead of PR05. Some of the users will get run time errors when