problem about fragmentation-Collection of common programming errors


  • mmr
    c# c++ wpf memory fragmentation
    I’ve got what I assume is a memory fragmentation issue.We’ve recently ported our WinForms application to a WPF application. There’s some image processing that this application does, and this processing always worked in the WinForms version of the app. We go to WPF, and the processing dies. Debugging into the library has the death at random spots, but always with an array that’s nulled, ie, allocation failed.The processing itself is done in a C++ library called by a p/invoke and is fairly memo

  • Manuel
    c++ memory heap detect fragmentation
    I’m writing a qt-based c++ application and i need to be able to detect memory fragmentation in order to check if the current system can actually sustain the memory load: the program load a big image (15/21 megapixels are the norm) in memory and then perform some filtering on it (w/ sparse matrices). For instance, i’m having memory fragmentation problem in Windows and VMMap has been very helpful in this: the problem was some DLLs (Wacom tablet “wintab32.dll” and the UltraMon app) doesn’t get relo

  • 500865
    android notifications fragmentation
    The following code has been confirmed to work fine on devices running HONEYCOMB+. However on Samsung galaxy Y it is not producing any notifications.String tickerText = userString + ” Download Queued”;Notification notification = new NotificationCompat.Builder(this).setAutoCancel(true).setContentTitle(userString).setContentText(“Queued”).setSmallIcon(R.drawable.stat_sys_download_done).setWhen(System.currentTimeMillis()).setTicker(tickerText).build();if(DBG_ENABLE) {LogUtils.logD(TAG_LOG, “Posting

  • chris
    android service activity heap fragmentation
    I have an Android app (activity) which also has a corresponding service. The service is started by the activity and is supposed to run continuously even when the activity is stopped. When the activity is started again it can bind to the service and query it.Sometimes the activity gets destroyed and created by the OS. This should not affect things, the activity should just be re-created and be able to bind to the service again. This basically works.However…I have found that both the Dalvik VM h

  • ewwhite
    linux redhat fragmentation
    Our application runs on Red Hat Linux 8.0 3.2-7, Linux kernel version 2.4.32. We’ve found that the OS does not know how to handle fragmented packets. When receiving a large amount of fragmented packets, the application running on the OS, crashes due to out-of-memory. Does anyone know of a solution? or can refer me to a Linux version that resolves this issue? Thank you.

  • splattne
    disk fragmentation bootup
    A white paper published by Diskeeper Corporation states at page 3 that,The most common problems caused by file fragmentation are:a) Crashes and system hangs/freezesb) Slow boot up and computers that won’t boot upc) […]d) File corruption and data losse) Errors in programsf) RAM use and cache problems How accurate are these statements (especially the ones about crashes and aborted bootups)?

  • RolandoMySQLDBA
    mysql windows myisam fragmentation
    We have a keep-growing table which using MYISAM storage engine. Almost every half year, this table will crash, and need to be repaired. I checked the defragment result reported by windows defragment program, the most fragmental files are: ——————————————————————————– ?? ???? ?????? 3,812 213 MB \MySQLData\data\cmszivr\calllog.MYI 24 541 MB \Program Files\Microsoft SQL Server\MSSQL\Data\tempdb.mdf … you can see, the index file caused 3812

  • coaxmetal
    android debugging exception fragmentation
    I have an android app that is getting a null pointer exception on some phones (all 2.3.x) but not on my phone (also 2.3.x) or on any of the simulators. The particular exception doesn’t seem give any indication that it is occuring within my code, so I assume I am making an call that some version of the same API thing is incorrect? I’m not sure what to make of it.Here is the error log from logcat:01-23 14:25:33.614: D/AndroidRuntime(25648): Shutting down VM 01-23 14:25:33.614: W/dalvikvm(25648): t

  • Xaqron
    c# collections fragmentation
    Consider registering entrance of new members in a Dictionary and the time of entrance:Dictionary<string, DateTime> members = new Dictionary<string, DateTime>(); members.Add(“Bob”, DateTimeNow); Thread.Sleep(1000); members.Add(“Joe”, DateTimeNow); Thread.Sleep(1000); members.Add(“Susan”, DateTimeNow); Thread.Sleep(1000); // Now Joe exits members.Remove(“Joe”); // Then Mike enters members.Add(“Mike”, DateTimeNow);Now the question is where’s Mike location in Dictionary. Is he added to t

Web site is in building