Questions tagged [fragmentation]

An unefficient usage of disk storage in memory or hard drive.

189 questions
0
votes
1 answer

Trim dynamicBuffer to maintain size

I'm using ChannelBuffers.dynamicBuffer() to manage fragmentation of unknown size messages over a network using Netty. My question is, when I readBytes(...) from the buffer, do the bytes that got read automatically get "trimmed" from the buffer so it…
0
votes
0 answers

Insert Into Using OpenQuery Causes Massive Fragmentation

I use the following code to import a table from an Oracle DB to SQL Server every day: TRUNCATE TABLE mytable INSERT INTO mytable (firstname, lastname, city, state) SELECT * FROM OPENQUERY (mylinkedserver, 'SELECT firstname, lastname, city, state…
Lloyd Banks
  • 35,740
  • 58
  • 156
  • 248
0
votes
1 answer

File fragmentation when data changes

If i add some letters to middle of file is that operation make file fragmentation? I just want to store data to file and sometimes update them. So...when i made many changes is it may be bad for perfomance issue?
Neir0
  • 12,849
  • 28
  • 83
  • 139
0
votes
1 answer

Fragmenting a table for distribution ORACLE SQL

Is there any subset of sql that deals specifically with horizontally fragmenting a table for distribution? I have to fragment a stock table to be distributed between stores. Im not looking for a complete solution just a nod in the right direction. I…
Dylan Jackson
  • 801
  • 1
  • 17
  • 33
0
votes
1 answer

Will allocations with short lifetimes cause heap fragmentation?

Suppose I have the following: std::string TestFragmentation() { std::vector buffer(500); SomeCApiFunction( &buffer[0], buffer.size() ); // Sets buffer to null-terminated string data return &buffer[0]; } Will the above vector,…
void.pointer
  • 24,859
  • 31
  • 132
  • 243
-1
votes
1 answer

External & Internal Fragmentation - Where it happens?

Is it possible to say that internal fragmentation occurs only in physical memory and external fragmentation occurs only in virtual memory ? If we can't say that, could you explain where internal and external fragmentation can happen ?
Khan9797
  • 600
  • 1
  • 4
  • 12
-1
votes
1 answer

Disk fragmentation calculation

So if I have disk with 10 free spaces. Add two files, A with size 3 and B with size 4. A A A B B B B - - - After removing A, - - - B B B - - - Is now B fragmented or not?
juku
  • 73
  • 4
-1
votes
1 answer

Win32 HeapCreate() initialSize doesn't support big allocations

We have a problem with using of HeapCreate()/HeapAlloc() for big allocations (> 512K) We are developing a C++ server application performing some 'image processing' operations concurrently on a few images. It should work for a long time without…
-3
votes
3 answers

How to transmit a file larger than 65,536 bytes using IPv4

I wanted to know if there is any way to send larger files than 65,536 bytes by using IPv4
1 2 3
12
13