Giter Club home page Giter Club logo

Comments (9)

maxd avatar maxd commented on June 12, 2024

Hello Roman,

Sorry, didn't get your question. Could you please explain what you mean by "good testing"?

from leveldb-jna.

romanman avatar romanman commented on June 12, 2024

Hey Max,
@maxd

I mean I've tried jnileveldb and it looked ok
and working and suddenly we found out
a memory leak in the leveldb (the version they use).

Did you tried any big load with the version you use ?

Thanks
Roman

from leveldb-jna.

maxd avatar maxd commented on June 12, 2024

No, I didn't test leveldb-jna over big workload. Do you have memory leak on Windows platform?

from leveldb-jna.

romanman avatar romanman commented on June 12, 2024

@maxd : I got that memory leak on both win and ubuntu
why ? do you know about some special problems with leveldb
on win ?

from leveldb-jna.

maxd avatar maxd commented on June 12, 2024

LevelDB doesn't support Windows platform. leveldb-jna and jnileveldb are using third-party LevelDB port for support Windows platform. So, it can has different problems.

Probably your problem related to outdated version of LevelDB because jnileveldb compiled with version 1.12 (version 1.18 is latest). For investigate it you can review commits in LevelDB repository because they describe all changes since 1.12 or create small project and try to reproduce memory leak with leveldb-jna library.

from leveldb-jna.

romanman avatar romanman commented on June 12, 2024

@maxd : yep the version difference is the reason
I will to try it. One last question:

When you pass key/value to leveldb by the bridge
are doing it by ref or by value (copy) ?

from leveldb-jna.

maxd avatar maxd commented on June 12, 2024

By reference. It mention here:

The memory provided by a Java primitive array will only be valid for use by the native code for the duration of the function call.

from leveldb-jna.

romanman avatar romanman commented on June 12, 2024

@maxd : thanks will let you know

from leveldb-jna.

maxd avatar maxd commented on June 12, 2024

I close it. Reopen it if you will have additional questions.

from leveldb-jna.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.