Forum > Windows

Large (huge) pages in Lazarus

<< < (2/4) > >>

Thaddy:
I also think he just means memory mapped files, since that at least makes sense.
There should not be much difference between C++ and FPC in handling that.

Laur:

--- Quote from: B4R on June 29, 2024, 07:33:58 pm ---Previously, I worked with Delphi 5-8 and a little bit with XE.
Now, I am looking to create an application that scans through large files and computes HMAC SHA256 from blocks of data contained therein. I thought that Lazarus with Indy can handle the task.

Ideally, the buffer in which these files will be kept, should be allocated as large pages also known as huge pages. This is trivial for me in C++. I am very reluctant to code this program in C++ because it needs a GUI, and I am not up to speed with that.

I searched and failed to find information on whether they are available in Lazarus. Are they, and if yes, then how can I enable them?

Many thanks!

--- End quote ---

Use simply GetMem... this is unlimited (should be).

or directly: in win GlobalAlloc... still works.

But loading of GBs to memory is rater stupid idea.

Joanna:

--- Quote --- rater stupid idea
--- End quote ---
what an amazing post please tell us more about yourself  :D

Thaddy:
I am eating, Joanna, don't make me ROFL. :-[ You are right.

Joanna:
 :D

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version