RunTime error DrawableD2D

  1. ‹ Older
  2. 9 months ago

    Richard W

    30 Jan 2019 Pre-Release Testers, Xojo Pro

    Not that this is very useful but it sounds familiar... Feedback Case #46551
    In my case the bitmaps are not that big, and it takes some time and perhaps low memory situations to trigger it.

  3. Dave S

    30 Jan 2019 San Diego, California USA
    Edited 9 months ago

    a 32k x 32k bitmap is around 3.2gig in size
    I beleve (I may be mistaken) but for Windows the working memory space for an Applicatiion is only 2gig???

    a 8k x 8k is 2.01gig

    EDIT : seems its 4gig not 2, but it is 2gig Kernel, and 2gig Application (so I guess I was "right" :) )

  4. Julian S

    31 Jan 2019 Pre-Release Testers, Xojo Pro UK

    At a guess, as Xojo is using D2D now, it might be graphics card memory dependent. This could be tested by making a build in 64bit and see if it works or not. If it is the case I don't think Xojo has given us a way to use software rendering to keep away from that limitation (not checked as I've not had the need to look).

  5. Greg O

    31 Jan 2019 Xojo Inc

    Continuing these thoughts, a method with the name CreateBitmapFromWicBitmap may mean that there are two “copies” of the data in memory at the same time, doubling the required footprint. I’ll ask William to comment.

  6. Jürg O

    31 Jan 2019 Pre-Release Testers, Xojo Pro

    Xojo does some internal "caching", which causes Pictures to use more memory…
    See also Feedback Case #54421: Significantly increased memory consumption when putting images in array in Windows

  7. Edited 9 months ago

    @Greg OLone Continuing these thoughts, a method with the name CreateBitmapFromWicBitmap may mean that there are two “copies” of the data in memory at the same time, doubling the required footprint. I’ll ask William to comment.

    Right, that is the unfortunate reality here, creating a 64-bit app may help. Before we get side tracked into the technical details though, please note that we carefully consider the consequences of our design. In this particular case speed trumps memory footprint.

  8. Jürg O

    31 Jan 2019 Pre-Release Testers, Xojo Pro

    @William Y In this particular case speed trumps memory footprint.

    Sure - but certainly makes sense in many situations.
    However:

    @Richard B draws large bitmaps. (upto 32k x 32k).

    Having such a big Picture 2x (or even more - i don't know the Framework's internals) in Memory doesn't make sense. For such a big Picture, memory trumps speed :)
    Maybe the Framework could only use it's Buffer if the Picture is "not too big"...?

  9. 8 weeks ago

    Frédéric Q

    Aug 26 Pre-Release Testers, Xojo Pro Europe ( France, Paris )

    Hi,
    Facing this one also on 2 customers computers, Xojo 2019r1.1, 64 bits build.

    Any workaround or IDE correction ???

    Thanks,
    Fred

  10. 7 weeks ago

    Julian S

    Aug 26 Pre-Release Testers, Xojo Pro UK

    What image sizes are you working with?

  11. Frédéric Q

    Aug 26 Pre-Release Testers, Xojo Pro Europe ( France, Paris )

    Hi,

    App is dealing with Pdf documents, maily A4 documents.
    When the crash arrives, it's after first installation. When opened, a page is displayed.

    So the page is displayed in a canvas, and the image size is (1700, 2210 ) [width, height ]

    Not very big, actually.

  12. Frédéric Q

    Aug 28 Pre-Release Testers, Xojo Pro Europe ( France, Paris )

    And another one today !!!

    The customer's machine is Windows 10, 64 bits, 4 Go Ram.

    This is a very annoying problem !

  13. Julian S

    Aug 28 Pre-Release Testers, Xojo Pro UK

    Are you able to find out if they have similar hardware? i.e. integrated graphics cards with shared memory?

  14. Julian S

    Aug 28 Pre-Release Testers, Xojo Pro UK

    Also, have you tried a 32bit build or do you need 64bit?

    How do you get from the pdf to the canvas? Have you written you own pdf class or do you use a 3rd party plugin?

    Are they multi page pdf's?

    Are you able to open the same pdf without issue?

    Are you able to log the "to be created" picture sure before you do so?

  15. Frédéric Q

    Aug 28 Pre-Release Testers, Xojo Pro Europe ( France, Paris )

    It's the same when trying a 32 build.

    And yes, I 'm using third party delarations, but it's not a plugin. It's a dll and I call declacre.

    Mostly, there are multi page pdf which can be open without any trouble with an other Pdf reader.

    It' quite difficult to get a lot of information, as I'm dealing with one plue value added reseller, so I can not contact directly the customers...

    One of them is a Dell Optilex, that's what I know so far. And other Dell computer in the same site could update failrly..

    Anyway, it's working of hundred of PC, crahing on 3 for now. But we are updating more than a thousand customers.....

    And less than 10 % is done for now...
    Very annoying problem !

    My resseller, as well as me, are very upset bu this Xojo bug.

    I can't do anything to fix it ! No exception called, just a bad crash.

    I hope Xojo team will be able to fix it quickly.

  16. Greg O

    Aug 28 Xojo Inc

    @Frédéric QUOIREZ It's the same when trying a 32 build.

    And yes, I 'm using third party delarations, but it's not a plugin. It's a dll and I call declacre.

    Mostly, there are multi page pdf which can be open without any trouble with an other Pdf reader.

    It' quite difficult to get a lot of information, as I'm dealing with one plue value added reseller, so I can not contact directly the customers...

    One of them is a Dell Optilex, that's what I know so far. And other Dell computer in the same site could update failrly..

    Anyway, it's working of hundred of PC, crahing on 3 for now. But we are updating more than a thousand customers.....

    And less than 10 % is done for now...
    Very annoying problem !

    My resseller, as well as me, are very upset bu this Xojo bug.

    I can't do anything to fix it ! No exception called, just a bad crash.

    I hope Xojo team will be able to fix it quickly.

    Have you filed a bug report with a sample project and a crash report?

  17. Frédéric Q

    Aug 28 Pre-Release Testers, Xojo Pro Europe ( France, Paris )

    No - I don’t have a small project and I have never seen the crash in my own testing (Windows 10 64 bits, Windows 7 64 bits )

    But, it looks like this one :
    feedback://showreport?report_id=46551

  18. Frédéric Q

    Aug 28 Pre-Release Testers, Xojo Pro Europe ( France, Paris )

    Here is an example of the crash :

    -image-

  19. Julian S

    Aug 30 Pre-Release Testers, Xojo Pro UK

    Nice spam ^ ^

  20. Emile S

    Aug 30 Europe (France, Strasbourg)

    John Broad: 1 post, joined 2 hours ago.

or Sign Up to reply!