fragmentation Questions

4

Solved

I've come across a situation where my database operations on many of my SQL Server database's tables have become very slow as more records have been added (5s for single insert to a table with 1 mi...
Insignificancy asked 28/4, 2017 at 15:22

5

Solved

Imagine you have some memory containing a bunch of bytes: ++++ ++-- ---+ +++- -++- ++++ ++++ ---- ---- ++++ + Let us say + means allocated and - means free. I'm searching for the formula of how...
Arvonio asked 3/1, 2011 at 18:3

7

Solved

It's good to split code up into functions and classes for modularity / decoupling, but if you do it too much, you get really fragmented code which is also not good. What is the golden rule for whe...
Tipsy asked 24/6, 2010 at 5:18

4

Solved

I am developing a C++ application, where the program run endlessly, allocating and freeing millions of strings (char*) over time. And RAM usage is a serious consideration in the program. This resul...

4

Can anyone please tell me the difference between internal and external fragmentation while allocation of disk space for files?
Paragraph asked 29/7, 2009 at 14:30

12

Solved

I've heard the term "memory fragmentation" used a few times in the context of C++ dynamic memory allocation. I've found some questions about how to deal with memory fragmentation, but can't find a ...
Godown asked 22/9, 2010 at 14:49

9

Solved

In the context in DDBMS, what is the difference between Vertical Fragmentation and Horizontal Fragmentation? Is it such that the relation's extension is fragmented for vertical fragmentation and i...
Octal asked 25/4, 2011 at 9:58

4

I don't understand why we bother fragmenting at RTP level if UDP (or IP) layer does the fragmentation. As I understand it, let's say we are on Ethernet link, the MTU is 1500 bytes. If I have to ...
Bolometer asked 5/6, 2015 at 16:25

2

Solved

I've found how we can solve this problem in SQL Server here - but how can i do it in PostgreSQL?
Zionism asked 21/9, 2018 at 13:34

3

Solved

Description When allocating and deallocating randomly sized memory chunks with 4 or more threads using openmp's parallel for construct, the program seems to start leaking considerable amounts of m...
Cushitic asked 3/5, 2011 at 21:33

4

Solved

I am currently going through my networking slides and was wondering if someone could help me with the concept of fragmentation and reassembly. I understand how it works, namely how datagrams are...

3

Solved

One of our customers is having trouble submitting data from our application (on their PC) to a server (different geographical location). When sending packets under 1100 bytes everything works fine,...
Dieppe asked 6/5, 2010 at 7:17

2

Solved

The sk_buff has two places where it can store the next fragmentation data: skb_shinfo(head)->frag_list skb_shinfo(head)->frags[] What are the differences between these two ways to handle fr...
Glucoside asked 6/4, 2012 at 6:2

2

Solved

Been working with MongoDB for a while and today I had a doubt while discussing with a colleague. The thing is that when you create an index in MongoDB, the collection is processed and the index is...
Arliearliene asked 20/5, 2015 at 9:11

3

Solved

I am using Red Gates ANTS memory profiler to debug a memory leak. It keeps warning me that: Memory Fragmentation may be causing .NET to reserver too much free memory. or Memory Fragmentati...
Hillegass asked 9/3, 2011 at 3:7

4

I was going through google file system (GFS) paper, It mentions that GFS uses Lazy space allocation to reduce internal fragmentation. Can someone explain, how lazy space reduces internal fragmetati...
Ken asked 7/8, 2013 at 17:11

2

My operating systems textbook says that compaction is a process that rearranges disk blocks such that all free disk blocks form a contiguous "chunk" of free disk space. But I always thought that w...
External asked 28/5, 2014 at 22:24

3

Solved

Here is the code. First I try to malloc and free a big block memory, then I malloc many small blocks memory till it run out of memory, and I free ALL those small blocks. After that, I try to mall...
Neurotomy asked 28/5, 2014 at 9:24

1

I have a pcap of various types of traffic over 802.11 (wifi) over udf. The udp (or more precisely IP) fragments the wifi packets due to the MTU. I am currently using SharpPcap to read in and try an...
Gentlemanatarms asked 29/8, 2013 at 23:22

5

Solved

I have a large database (90GB data, 70GB indexes) that's been slowly growing for the past year, and the growth/changes has caused a large amount of internal fragmentation not only of the indexes, b...

3

Solved

I'd like to OPTIMIZE all currently fragmented tables. These tables should have information_schema.DATA_FREE > 0. Is it possible to optimize all tables with this property in one command in SQL o...
Succession asked 23/6, 2009 at 11:1

1

Solved

I have a long running process that allocates and releases objects constantly. Although objects are being freed, the RSS mem usage goes up over time. How can I calculate how much fragmentation is ...
Zoe asked 9/12, 2012 at 2:5

4

Solved

I am having a problem using HttpWebRequest against a HTTP daemon on an embedded device. The problem appears to be that there is enough of a delay between the http headers being written to the socke...
Ledbetter asked 5/2, 2010 at 7:11

1

Solved

Our application continuously allocates arrays for large quantities of data (say tens to hundreds of megabytes) which live for a shortish amount of time before being discarded. Done naively this c...

1

I have an OpenGL Android app that uses a considerable amount of memory to set up a complex scene and this clearly causes significant heap fragmentation. Even though there are no memory leaks it is ...
Equate asked 28/2, 2012 at 17:59

© 2022 - 2024 — McMap. All rights reserved.