A memory-management technique where a computer stores and retrieves data from secondary storage for use in main memory. Memory is divided into equal sized pages so to not waste any memory.
Questions tagged [paging]
2459 questions
0
votes
0 answers
refresh paging when update item and hold scroll with placeholders
I have a notification list displayed through paging. When I delete or change the status of an item, I want to refresh the page so as not to lose the item when scrolling to another page. I have used a placeholder to hold the place when refreshing and…

DHP
- 1
0
votes
1 answer
Xcode: UIScrollView with Paging Tweak
I found a great tutorial online that shows you how to page through different pages, well kind of. Here is the link to the tutorial here: http://www.iosdevnotes.com/2011/03/uiscrollview-paging/
The question I have is, how can I tweak his code so that…

rs14smith
- 589
- 2
- 6
- 8
0
votes
0 answers
Adapting the Contoso University Instructor Page to have sorting and filtering
I have been working through the Contoso University tutorial I am trying to add filtering/sorting and paging to the instructor index page.
I have been successful in getting the filtering and sorting to work, i cannot though get the paging to work any…

NickO
- 1
0
votes
3 answers
Why do `sbrk`, `mmap` etc. return very long addresses?
When I mmap a block of memory, the returned pointer might be something like 2607194112 or 3614339072 (both actual values I've gotten).
Why are these values seemingly so random? It's all virtual anyway, so why not just give me address 4096 to start…

doliphin
- 752
- 6
- 22
0
votes
0 answers
Out of memoty when convert entities to json - Process 100.000 records
Currently I'm facing an issue when convert entities to JSON
@Entity
class EntityA {
@OneToMany(mappedBy = "parent",cascade = CascadeType.ALL)
EntityB entityB;
@OneToMany(mappedBy = "parent",cascade = CascadeType.ALL)
EntityC…

chinh
- 273
- 1
- 4
- 15
0
votes
0 answers
How to transform the values from logical memory to the physical memory. (Paging)
And then I was given that Page size = 4 bytes, Physical memory =40 bytes. There were two tables, one being the page table with 4 pages ranging from 0-3 and the other being the logical memory table with 15 rows corresponding to alphabets.The link…
0
votes
1 answer
What's the difference between refresh and source.refresh in CombinedLoadStates?
If there is not remoteMediator, does this mean that refresh is the same to source.refresh?
It looks consistent from the logs, can someone give me an affirmative answer?
onCreateView:…

Michael
- 1
- 2
0
votes
1 answer
IOS: index page of a scrollview with infinite paging
I have this code:
it's for 3 scroll view to have a random paging
CGRect frame = scrollView.frame;
CGRect frame1 = scrollView1.frame;
CGRect frame2 = scrollView2.frame;
frame.origin.x = frame.size.width * (arc4random() % (arrayimage.count…

cyclingIsBetter
- 17,447
- 50
- 156
- 241
0
votes
1 answer
how does JPA's Sort find @Embedded properties?
I learned that when I want to paging '@Embedded class's properties', I have to write down the code like
@Entity
public class DepEntity {
@Embedded
private ExpEntity exp;
}
@Embeddable
public class ExpEntity {
@Column(name =…

gj su
- 11
- 1
0
votes
3 answers
Need of Virtual memory?
I was recently asked a question that in a computer system, if the primary memory(RAM) is comparable to the secondary memory (HDD) then is there a need for virtual memory to be implemented in such a computer system ?
Since paging and segmentation…

user434885
- 1,988
- 6
- 29
- 51
0
votes
0 answers
Windows10 NonePaged Pool Limit
I am developing a Windows app, but I have a question because the non-paging pool limit is too small compared to the specifications in use..
Looking at the post on the link below, the size of the non-paging pool limit is about 75% of the actual RAM,…

holee
- 1
- 1
0
votes
1 answer
What happens to the TLB during a segmentation fault?
If the TLB is responsible for caching virtual and physical addresses, then what happens to it when a process tries to access an address space that doesn't belong to it? Can the TLB also handle empty address spaces?
I asked my TAs for my OS course…
0
votes
0 answers
How to get sector number from struct page in linux kernel?
I am developing a filesystem module for linux kernel.
In my implementation, sector size = block size = page size = 4KB
In the address space operations, I would like to do something which involves the sector number. Basically, give a struct page*…

Mahek Shamsukha
- 110
- 7
0
votes
0 answers
Error in x86_64 kernel: Page fault when trying to write to memory
I'm currently working on an x86_64 kernel as a personal project and I'm running into a page fault error when trying to write to memory. I've checked my code and I believe I've set up my paging structures correctly. However, I'm still running into…
0
votes
1 answer
memory unused and available yet memory alloc failure - posssible?
In Linux or typically an OS with MMU for virtual memory management system like x86 architecture, I am realizing a scenario through an example where memory is available yet malloc can fail. Please confirm if this is actually possible.
Consider we…

mr.anand
- 11
- 2