Print Thread
AVs on 64-bit during high RAM usage
#62734 10/28/21 01:43 PM
Joined: Feb 2018
Posts: 16
M
Member
OP Offline
Member
M
Joined: Feb 2018
Posts: 16
Once 64-bit application allocates enough RAM that 32-bit addresses aren't enough, 64-bit addresses will be used.
There are places in DOA source code, where 32-bit addresses are assumed - in other words, pointers are cut in half.

Example (OracleData.pas):
DataEvent(deFieldChange, Longint(Field));

Meanwhile in Data.DB:
procedure DataEvent(Event: TDataEvent; Info: NativeInt);

I pinpointed other places, but I think you should investigate on your own.

Re: AVs on 64-bit during high RAM usage
Matt Ors #62736 10/29/21 09:05 AM
Joined: Aug 1999
Posts: 22,173
Member
Offline
Member
Joined: Aug 1999
Posts: 22,173
This should indeed be a NativeInt() cast. We'll fix it.


Marco Kalter
Allround Automations
Re: AVs on 64-bit during high RAM usage
Matt Ors #62739 10/29/21 11:45 AM
Joined: Feb 2018
Posts: 16
M
Member
OP Offline
Member
M
Joined: Feb 2018
Posts: 16
Can't wait for the next 4.1.3.


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.074s Queries: 14 (0.021s) Memory: 2.4998 MB (Peak: 3.0377 MB) Data Comp: Off Server Time: 2024-03-29 07:14:37 UTC
Valid HTML 5 and Valid CSS