Recent

Author Topic: FPC-USB-HID  (Read 14298 times)

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: FPC-USB-HID
« Reply #15 on: April 07, 2017, 03:18:01 pm »
I have looked into your code, and did not (yet) find anything suspicious.
Will look further i more detail, and will report back with some questions / requests.

About donation:
Please donate towards FPC and/or Lazarus !
Both fantastic and in need of support.

JohnSmith

  • New Member
  • *
  • Posts: 21
Re: FPC-USB-HID
« Reply #16 on: April 07, 2017, 04:45:19 pm »
Thanks , I appreciate it.
Will you be so kind to point me to the link where to donate, I don't see where

Regards

JohnSmith

  • New Member
  • *
  • Posts: 21
Re: FPC-USB-HID
« Reply #17 on: April 07, 2017, 04:55:34 pm »
If i follow the link to do a paypal payment in $, it take me to a screen with code to enter, then on paypal account when i go to the right to log into my paypal account it takes me back to the previous screen and then the whole process starts again.

Is there a account where i can do the paypal payment directly ? 

JohnSmith

  • New Member
  • *
  • Posts: 21
Re: FPC-USB-HID
« Reply #18 on: April 10, 2017, 08:10:54 pm »
When should memory be released on a RPI system?
Maybe i do not understand how it works.

I tried the following with RS232 with synapse also sending the same data

The results is as follow
Starting 42.2mb
after 26 hour the memory = 69.0mb

If i run the same source on windows you can clearly see how memory is released.


 
 

Thaddy

  • Hero Member
  • *****
  • Posts: 14363
  • Sensorship about opinions does not belong here.
Re: FPC-USB-HID
« Reply #19 on: April 10, 2017, 08:54:01 pm »
Compile with -glh or enable heaptrc in Lazarus. (See screenshot, don't do it by hand!)
There is possibly something else that causes the memory to go up.
I have never seen that on any of my raspberry pi's.

If Alfred says the memory problems are fixed this is usually the case.
« Last Edit: April 10, 2017, 08:57:46 pm by Thaddy »
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

JohnSmith

  • New Member
  • *
  • Posts: 21
Re: FPC-USB-HID
« Reply #20 on: April 10, 2017, 10:00:38 pm »
Thanks Thaddy

I have upload the project for download on the first page, It will be great as you can have a look. It is Alfred project. I have enabled heaptrc and i believe there is no memory leak as Alfred did the project. Maybe i change settings in the project options that i was not supposed to do.

Many thanks for the reply.

JohnSmith

  • New Member
  • *
  • Posts: 21
Re: FPC-USB-HID
« Reply #21 on: April 20, 2017, 09:31:12 pm »
I have looked into your code, and did not (yet) find anything suspicious.
Will look further i more detail, and will report back with some questions / requests.

Did you find anything ? If you need me to test or need access to the pi let me know
Thanks

JohnSmith

  • New Member
  • *
  • Posts: 21
Re: FPC-USB-HID
« Reply #22 on: May 13, 2017, 01:01:24 am »
memory leak sorted

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: FPC-USB-HID
« Reply #23 on: May 17, 2017, 02:56:31 pm »
Was it a FPC-USB-HID library problem or something else.
If library, please share and improve the lib !

 

TinyPortal © 2005-2018