Comments (3)
This is not a bug. Scrypt uses a lot of memory. Naturally if you increase the amount of memory it uses beyond certain limits it will cause memory exhaustion. Unless you're proposing that the error be handled differently, i.e., maybe it doesn't trigger a fatal error but something else.
from php-scrypt.
Agree, this works
nmake test TESTS=" -n -d extension_dir=Release_TS -d extension=php_scrypt.dll -d memory_limit=2G ext\scrypt"
Previously i was setting memory_limit=1G and that's failed. So great, issue fixed :)
from php-scrypt.
actually, vectors.phpt should have the right memory_limit set in --INI-- section, to avoid that confusion.
from php-scrypt.
Related Issues (20)
- Empty key length does not return any errors - just a blank hash.
- Segfault in php-scrypt/crypto/crypto_scrypt-sse.c:337 HOT 2
- Compilation error with GCC 4.9 - inlining fail HOT 2
- Default hash length is twice what it needs to be HOT 12
- Compilation failure, CPU without SSE2 support. HOT 5
- PHP 7 Support HOT 22
- Hash identifying? HOT 1
- manual install (windows) HOT 1
- Weak CSPRNG for the salt in some situations. HOT 9
- 1.4: failed test
- Show salt in hex instead of binary HOT 3
- Add needsRehash function HOT 3
- 算法结果去期望值不相同 HOT 1
- PHP package cannot be found after php extension installation
- can't install php-scrypt
- scrypt hash looks different in PHP72 and PHP74 HOT 1
- [bug] Salt param is being ignored in Windows
- Replacement in Sodium? HOT 1
- Please release fix for PHP 8.0 HOT 5
- Attempting to compile with SSE support on non-supported archetectures HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-scrypt.