An unefficient usage of disk storage in memory or hard drive.
Questions tagged [fragmentation]
189 questions
2
votes
3 answers
Embedded Linux: Memory Fragmentation
In many embedded systems, memory fragmentation is a concern. Particularly, for software that runs for long periods of time (months, years, etc...). For many projects, the solution is to simply not use dynamic memory allocation such as malloc/free…

waffleman
- 4,159
- 10
- 39
- 63
2
votes
4 answers
Prevent file fragmentation
I have an issue with fragmentation on my drive. I got a programm that generates over 50000 files in different folders, each file grows over time. Each file will be about 500MB in size and I need to read the files fast.
The issue I am facing is that…

Marek Salzinger
- 75
- 10
2
votes
1 answer
udp packet fragmentation for raw sockets
Follow-up of question packet fragmentation for raw sockets
If I have a raw socket implemented as such:
if ((sip_socket = socket(AF_INET, SOCK_RAW, IPPROTO_RAW)) < 0)
{
cout << "Unable to create the SIP sockets."<< sip_socket<<" \n";
…

SkypeMeSM
- 3,197
- 8
- 43
- 61
2
votes
0 answers
Zoom controls on emulator running Android 1.6 with QVGA
I'm testing my app on different AVD setups in the emulator and ran into problems with zoom controls in MapView on Android 1.6 using QVGA resolution only (lcd.density=120).
When tapping on the screen so the zoom controls are displayed, the zoom…

Björn
- 876
- 1
- 10
- 19
2
votes
1 answer
What changes are made in the mass storage API between Android 1.5 and Android 1.6
I wrote some code to save images on the SD Card a while back. Now I added the targetSDKVersion to my manifest and now my file saving code ceased to work.
I can reproduce it through removing the targetSdkVersion from my manifest from that on my App…

Janusz
- 187,060
- 113
- 301
- 369
2
votes
1 answer
Heap intensive c++ program
I am working on a Pattern searching program that continuously allocates and deallocates from the heap. The program is intended to be very conscious about memory usage so when I'm done with memory it needs to be freed to the OS. With that being said…

PeterMorley
- 45
- 4
2
votes
3 answers
Android Apps: What is the recommended targetSdk for broadest appeal?
I have an Android app that only needs internet access and would like to target API level 3 (1.5) to reach the broadest handset base. However, it appears that targeting API level 3 implicitly requires two additional permissions that are visible to…

JohnRock
- 6,795
- 15
- 52
- 61
2
votes
1 answer
Oracle table fragmentation
How do I fragment a table so that it is distributed over multiple oracle 9i servers.

Manish Mathai
- 135
- 6
2
votes
4 answers
Is there a standard C malloc like function that takes double pointer to avoid fragmentation?
The problem with the current malloc function is that is does not keep track of the variable that stores the returned memory location. As such fragmentation can occur because it is harder to move around memory.
The MMU can solve this only to a…

user3462295
- 290
- 2
- 9
2
votes
1 answer
Websocket questions: framing, masking
Couple questions about websockets protocol sending BINARY data:
Why is the payload masked? doesn't TCP guarantee data integrity?
What exactly is fragmentation? does it mean that, if I send a single frame of 1000 byte payload, the other end (due to…

Benito Ciaro
- 1,718
- 12
- 25
2
votes
1 answer
UDP packet fragmentation
After reading dozens of articles I can't find an answer to a simple question - can UDP datagram arrive fragmented? I know that it can get fragmented on the way if it's size is above 576 bytes or something like that, but will it get merged when it…

Sebastian Nowak
- 5,607
- 8
- 67
- 107
2
votes
1 answer
dealing with memory fragmentation for a simulation of dynamic memory allocation
I am working on a dynamic memory allocation simulation using a fixed sized array in C and i would like to know the best way to deal with fragmentation. My plan is to split the array into two parts, the left part reserved for small blocks and the…

user2644819
- 1,787
- 7
- 28
- 41
2
votes
1 answer
Do we still need to worry about row fragmentation when using flash disk storage?
Row fragmentation was always a thing you needed to think about when choosing char/varchar2 data types for table columns, issuing batch deletes/inserts/updates on the tables because Oracle tries to fit new data into opened free spaces and so…

Centurion
- 14,106
- 31
- 105
- 197
2
votes
3 answers
Storing a string that can vary a lot, from very long to very short :: Fragmentation
Ok, so every player in my game has a document in my players collection and each player has 1 string that is a serialized has of their game state. So this string can be
way long or way short and vary a lot for every single player.
I had somebody…

Dave Geurts
- 319
- 3
- 7
2
votes
0 answers
Handling ID in a SQL Server Standard edition partitioning situation using views
Short backgroung
Hello every body. I am currently facing a situation where I need to increase performance on a very large table on SQL Server standard edition. The table is transaction heavy and expected to get quite a bit more…

Taher
- 573
- 4
- 7