View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000362YaCy[All Projects] Generalpublic2014-01-30 16:082014-02-07 17:21
Assigned ToOrbiter 
PlatformOSOS Version
Product VersionYaCy 1.6 
Target VersionFixed in Version 
Summary0000362: Reported "Size in KBytes" of RAM cache overflows
DescriptionOn the performance settings page, if the size of the RAM cache grows too much, the reported value will become negative and then begin decreasing while word count increases.

This appears to be a result of an overflow since the value (in bytes) where this occurs is near 2^31 - 1.
Steps To Reproduce1. Change "Maximum number of words in cache:" value to one large enough to allow memory consumption to grow over 2^31 - 1 bytes.
2. Wait for words in RAM cache to grow past 2^31 - 1 bytes.
TagsNo tags attached.
Attached Filespng file icon YaCyNegativeCache.png [^] (18,837 bytes) 2014-01-30 16:08

- Relationships

-  Notes
Orbiter (manager)
2014-02-07 17:21

fixed in commit 94245ce0a864b3dfa92cf6daca02bbcf40da1313
The value was not calculated correcly, only guessed and only in int.
The fix makes now an exact calculation of the required amount. Therefore the numbers may be completely different than before (!).

- Issue History
Date Modified Username Field Change
2014-01-30 16:08 SpellingD New Issue
2014-01-30 16:08 SpellingD File Added: YaCyNegativeCache.png
2014-02-07 17:21 Orbiter Note Added: 0000705
2014-02-07 17:21 Orbiter Status new => resolved
2014-02-07 17:21 Orbiter Resolution open => fixed
2014-02-07 17:21 Orbiter Assigned To => Orbiter

Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker