Code Monkey home page Code Monkey logo

Comments (2)

chitsaw avatar chitsaw commented on May 15, 2024

[posted on behalf of @sjdent]

Hi Xiangzhi

For the size of the chunks (extents) being written, from your screenshot it looks like you’re writing 32MB extents, not 32kB extents, and this is correct for a 32-bit application. If your app was 64-bit then the extents would be 256MB each. With 256MB extents, I’m seeing new extents being created about every second, and with 32MB extents that number would be much higher.

You’re generating a lot of data because you’re writing unencoded color images to the store, so it’s possible that the out of memory condition you’re seeing is correct. If you could write encoded JPEGs instead of raw HD images, it would really cut down on your data rate and I think the issue should go away. Switching to a 64 bit application may help as well.

from psi.

xiangzhi avatar xiangzhi commented on May 15, 2024

Thank you!
You are right, the main problem where there was too much written data was because I was writing the raw data to the file. Changing it to following fixed it.

kinectSensor.ColorImage.EncodeJpeg().Write("Image", store, largeMessages:true);

I believe the second problem ("Access to path XXX is denied") was probably because the mixed of 32 bit (Application) and 64 bit (Psi Studio). The problem went away after I changed my application to 64 bit. There seemed to be a problem with accessing stores from 32 bit application live with PsiStudio.

from psi.

Related Issues (20)

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.