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
44
votes
5 answers
Paging does not work and maybe I found the cause
I am trying to implement the stream (news feed) paging function to my app, but it does not work as expected. I found many similar questions here but there are no solutions to solve this problem.
I tried both Graph API and FQL and the behavior was…

daoki2
- 441
- 3
- 4
42
votes
6 answers
Paging SQL Server 2005 Results
How do I page results in SQL Server 2005?
I tried it in SQL Server 2000, but there was no reliable way to do this. I'm now wondering if SQL Server 2005 has any built in method?
What I mean by paging is, for example, if I list users by their…

GateKiller
- 74,180
- 73
- 171
- 204
42
votes
2 answers
Do modern OS's use paging and segmentation?
I was reading about memory architecture and I got a bit confused with the paging and segmentation. I read that modern OS systems use only paging to manage memory access but looking at a disassembled codes I can see segments like "ds" and "fs". Does…

Dan
- 1,059
- 1
- 9
- 11
41
votes
8 answers
What causes page faults?
According to Wikipedia:
A page fault is a trap to the software raised by the hardware when a program accesses a page that is mapped in the virtual address space, but not loaded in physical memory. (emphasis mine)
Okay, that makes sense.
But if…

user541686
- 205,094
- 128
- 528
- 886
39
votes
7 answers
Difference Swapping and Paging
What are the differences between Swapping and Paging with reference to Process Memory Management ?
Also guide me to the tutorials if any where I could get more information.

nitin_cherian
- 6,405
- 21
- 76
- 127
38
votes
3 answers
Android Paging 3 - get list of data from PagingData object
I'm using new jetpack Paging 3 library. I have one specific use case. I want to share this data between two screens using viewmodel.
One screen needs paged data and for the second screen I want simple list of this data (not paged list, I need to…

P.Dudik
- 411
- 1
- 5
- 4
36
votes
3 answers
segmentation fault vs page fault
I was wondering what differences and relations are between
segmentation fault and page fault?
Does segmentation fault only belong to segmented memory model?
Does page fault only belong to paged memory model?
If both are yes, since most computer…

Tim
- 1
- 141
- 372
- 590
33
votes
5 answers
sorting and paging with gridview asp.net
I'm trying to get a gridview to sort and page manually with no success.
The problem is that when a user clicks the column they want to sort, it sorts that page, but doesn't sort the datasource (dataview) behind the gridview. So when they progress…

dangerisgo
- 1,261
- 3
- 16
- 28
33
votes
2 answers
How to change Kendo UI grid page index programmatically?
I have a kendo ui grid. Let's say that the JS variable pointing to the grid is called grid. How can I go to page 3 programmatically? Thanks.

Lajos Arpad
- 64,414
- 37
- 100
- 175
32
votes
3 answers
Differences or similarities between Segmented paging and Paged segmentation?
I was studying combined paging/segmentation systems and in my book there were two approaches to this :
1.paged segmentation
2.segmented paging
I could not make out the difference between the two. I think in paged segmentation the segment is divided…

0decimal0
- 3,884
- 2
- 24
- 39
31
votes
4 answers
Android horizontal scrollview behave like iPhone (paging)
I have a LinearLayout inside a HorizontalScrollView. The content is just a image. While scrolling, I need to achieve the same behavior you get when setting the paging option on a the iPhone equivalent of the HSW (scrolling the list should stop at…

Davide Vosti
- 2,485
- 2
- 22
- 31
31
votes
3 answers
selenium get current url after loading a page
I'm using Selenium Webdriver in Java. I want to get the current url after clicking the "next" button to move from page 1 to page 2. Here's the code I have:
WebDriver driver = new FirefoxDriver();
String startURL = //a starting url;
…

pew007
- 441
- 1
- 7
- 10
30
votes
2 answers
Return total records from SQL Server when using ROW_NUMBER
I would like to return the total number of records in the database so I can set up pagination. How do I return the total number of records in the DB when using the following paging method in SQL Server 2008?
ALTER PROCEDURE…

izip
- 2,036
- 5
- 22
- 31
26
votes
2 answers
Why using hierarchical page tables?
I'm learning the Linux kernel and reading the book The Linux Kernel.
Can anybody explain why can't we just use the table which maps directly between logical and physical memory instead of the tree-like multilevel structure?
Added:
The total number…

Determinant
- 3,886
- 7
- 31
- 47
26
votes
2 answers
When to do or not do INVLPG, MOV to CR3 to minimize TLB flushing
Prologue
I am an operating system hobbyist, and my kernel runs on 80486+, and already supports virtual memory.
Starting from 80386, the x86 processor family by Intel and various clones thereof has supported virtual memory with paging. It is well…

Antti Haapala -- Слава Україні
- 129,958
- 22
- 279
- 321