Comments (2)
We tried at some point to use finalize but it turned up to be highly unreliable for our needs. We (tried to) follow instead of C# api which uses a free-buffer that should periodically be checked and cleared. We relied more on a lot of small solvers that we end up freeing manually, so this might explain why the current way has worked out better than relying on finalize for us.
I will have a look at the alternative again.
from scalaz3.
I see. What exactly do you mean, when you say that finalize turned out to be unreliable? In my application, memory consumption rises from symbolic execution to symbolic execution, although it should not. More precisely, native heap size increases continuously.
Maybe this behaviour is also caused by unreliable finalize behaviour, which does not correctly decrement reference counters.
from scalaz3.
Related Issues (20)
- Can the hand-written JNI code be replaced with JNR-FFI? HOT 2
- UnsatisfiedLinkError related to libgomp.1.dylib when using OSX binary on 10.9.5 HOT 1
- Z3 source code repository should be fixed in README file HOT 1
- GCC 5 uses the GNU11 standard, which breaks how inline functions are used. HOT 1
- Why does 'mkInt' take an int as parameter instead of a long (as it is supported by Z3) ? HOT 1
- Implement `*ValHandler.convert(...)` directly in `ValHandler` HOT 2
- Native z3 library can't be loaded on Mac OS HOT 1
- Help with compilation HOT 4
- Passing a list of assumptions in solver.checkAssumptions? HOT 2
- z3-4.6.0 build fails due to not incorporating https://github.com/Z3Prover/z3/pull/1612 HOT 1
- Address potential build issue
- Provide module with high-level monadic/pure API
- Reflective access in Z3Wrapper yields warning on Java 11
- Could not find mkFPConst(String) for floats similar to mkRealCons(String)
- `sbt test` fails with NullPointerException when loading jar HOT 2
- Where is mkEnumType/EnumSort? HOT 1
- Replace custom build of Z3 with z3-turnkey HOT 1
- Scala 3 / dotty support? HOT 1
- Cannot find checkAndGetAllModels HOT 3
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 scalaz3.