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
1 answer
Pagination in a Large List of Data - Flutter
I would like to have pagination in a large list of data. I have been searching for pagination in Flutter, but all of them are showing the way to use load more or lazy loading, but I would like to load data page by page. So, if I have a 100 data…

wahyu
- 1,679
- 5
- 35
- 73
0
votes
1 answer
Data paging in Linq to sql vs straight sql - which one is better?
Bit of a theoretical question here.
I have made a database search interface for an ASP.NET website. I am using linq to sql for the BL operations. I have been looking at different ways to implement efficient paging and I think I have got the best…

yu_ominae
- 2,975
- 6
- 39
- 76
0
votes
1 answer
(Operating System) Calculate page number and page offset
Given the size of the page is 4KB, find the page number and page offset of this address (provided in decimal) 21235.
The Offset would be 21235 / (4*2^10) = 5.xxx => 5
The page number would be 21235 % (4*2^10) = 755
And I am wonder the explanation of…

CosmosLee
- 57
- 3
- 7
0
votes
0 answers
Restricting memory usage by Spark application on worker nodes
I have a computer cluster consisting of a master node and a bunch of worker nodes, each having 8GB of physical RAM. I would like to run some Spark jobs on this cluster, but limit the memory that is used by each node for performing this job. Is this…

user308485
- 611
- 1
- 5
- 25
0
votes
1 answer
Paging problem with GridView
i have a asp.net webpage with a GridView

Roshan
- 49
- 1
- 8
0
votes
1 answer
Multi page viewPager2 with paging 3 doesn't show data on page 2 using SharedViewModel
I want to implement two view tab, with recycle view as list, and using paging 3 for collecting data and return will be kotlin flow. everthing is working perfectly at tab one, but nothing show in tab two.
the viewModel code…

Ma'tufful Ikhsani
- 43
- 1
- 5
0
votes
1 answer
Does mlockall(MCL_CURRENT | MCL_FUTURE) prevent paging?
Having trouble understanding just what mlockall does.
There is this in the man page:
mlockall() locks all pages mapped into the address space of the
calling process. This includes the pages of the code, data, and
stack segment, as…

peewee6765
- 49
- 5
0
votes
1 answer
Hierachical Per-Process Page Tables: why don't we use simple linear array?
I would like to know why we need hierachical page tables in OS that handle per-process page tables, using PTBR and PTLR registers in CPU (tipically stored in PCB).
Thanks to PTLR I can check the limit of page table size for the current process, so…

differenziale
- 563
- 1
- 6
- 15
0
votes
4 answers
Screen scrape web page that displays data page wise using Mechanize
I am trying to screen scrape a web page (using Mechanize) which displays the records in a grid page wise. I am able to read the values displayed in the first page but now need to navigate to the next page to read appropriate values.
…

MOZILLA
- 5,862
- 14
- 53
- 59
0
votes
0 answers
Is there a way to know there is any kind of page move or swap happend in Linux?
Virtual address to physical page mapping can be changed during application runtime by swapping or physical page reallocation for memory defragmentation or etc.
What if I want to cache physical page numbers (PPNs) of some virtual address range from…

user3498780
- 89
- 8
0
votes
1 answer
enabling paging leads to triple fault
In case this helps somebody in the future:
check if the global descriptor table is working
check if the elements of page table entry struct are ordered correctly
This code worked for me:
gdt.s
section .data
gdt:
.null:
dq 0
.code:
…

WernerDrasche
- 1
- 2
0
votes
0 answers
Return value has unwanted values out of defined array size after parsing
I am trying to do some manual paging for a small EEPROM with 8-Byte Page Write Buffer.
The code I created works as I wanted in an online tool. But, when I implemented it within my programming environment, it gives me hard time particularly getting…

Sener
- 335
- 4
- 17
0
votes
1 answer
OS X, gcc, x86, segmentation, paging, seg fault, bus error
In the case of osx, gcc, modern x86:
How is the x86 segmentation h/w and paging h/w used?

grok12
- 3,526
- 6
- 26
- 27
0
votes
0 answers
Android Room Paging Results For Export. Potential Problems with my solution
I'm writing an android app that supports exporting the app database to various formats. I don't want to run out of memory, but I want to page the results easily without receiving updates when it changes. So I put it in a service, and came up with…

HSchmale
- 1,838
- 2
- 21
- 48
0
votes
1 answer
In OSes that use page tables, are page tables ever empty?
In studying shadow paging mechanisms, I learned of a case where a shadow page table starts out empty and only gets filled in as the guest VM accesses memory. It got me thinking about traditional page tables. When the OS is running and a page table…

wxz
- 2,254
- 1
- 10
- 31