Jump to content

limelect

Members
  • Content Count

    915
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by limelect

  1. limelect

    Huge memory problem

    @Lars Fosdal you are correct my DB is SQLite. When I SQL or add records all gives me memory problems. What I think I will do I will write an investigation program with my actual database to analyze my use so I will decrease the program to a manageable logic of one function.
  2. limelect

    Huge memory problem

    @David HeffernanBy no means I am willing to redesign the DB concept if I knew there is a good solution like MS server for example. The only problem I will not give my user to install the MS server. Why I wrote my problem because someone might come up with a good dB that i do not know
  3. limelect

    Looking for a localization tool

    I have been using for years https://github.com/yktoo/dklang
  4. limelect

    Code folding

    D10.2.3 I could not find any ICON to put on my toolbar for Code folding. is my only option is Ctrl+Shift+K+O ?
  5. limelect

    HoursBetween

    Rx librery in it use RxDateUtil.pas
  6. limelect

    Line number of source code at runtime

    @Fr0sT.Brutalsorry you are correct but Delphi search did not find it now it does
  7. limelect

    Line number of source code at runtime

    @Fr0sT.Brutal No Ice.Utils.GetCurrentAddress such function in your source now it does
  8. limelect

    Hwid based lock

    Fast search for Delphi hwid https://theroadtodelphi.com/2010/12/02/generating-a-unique-hardware-id-using-delphi-and-the-wmi/
  9. This is what I did with Delphi for youtube-dl, ffmpeg https://limelect.com/downloads/youtube_downloader_shell/ is this what you are trying to achieve? Myne is only window and VCL
  10. limelect

    Out Of memory

    My application has an out-of-memory error On the break the source wants FireDAC.DatS.pas which I do not have Any idea how to solve this? if possible P.S after the out of memory if i keep going it is ok The part that does it is ProjectsFDTable.Filtered := false; ProjectsFDTable.FilterOptions := [foCaseInsensitive]; case RadioGroup2.ItemIndex of 0: begin //'%a%' ProjectsFDTable.Filter := {QuotedStr} 'ProjectrealName LIKE ' + QuotedStr('%' + Edit6.Text + '%'); <<< end; 1: begin end; 2: begin ProjectsFDTable.Filter := {QuotedStr} 'Category LIKE ' + QuotedStr('%' + Edit6.Text + '%'); end; end; ProjectsFDTable.Filtered := True; However, I am not sure it is only here !!! but this is where i could trace the out of memory
  11. limelect

    Out Of memory

    Thanks, guys I hope it is fixed I changed my table to Fetchoptions all i hop it fixed it and the search is faster
  12. limelect

    Out Of memory

    @Clément the only thing I see on FDTable is on FetchOption.mode is already fmOnDemand Let me clarify the point. Memory happens ONCE. Then everything is ok. If there was a real memory problem it should have been all the time want it? I am filtering the database upon writing a search text Each char one enter does a new filter. To be exact on >>>> procedure TForm1.Edit6Change(Sender: TObject); (my database file 1.55GB)
  13. limelect

    Out Of memory

    @Lajos Juhász first can you clarufy. second, if you are right once I get the memory msg and I dismis the message I do NOT get any more messages. The memory message is ONLY ONCE !!!
  14. trying to compile d10.2.3 missing components
  15. limelect

    Converting a very long text to concatenated strings?

    Will my free tool will help you? https://limelect.com/downloads/add-characters-to-text-lines-on-large-scale/
  16. limelect

    sending text between applications (10)

    It did work without any glitch Communicate between 3 computers with Delphi programs I admit it was a long time ago
  17. limelect

    sending text between applications (10)

    To All why complicate things just mailslot component
  18. limelect

    sending text between applications (10)

    Just use mailslot component Great use between Delphi applications I used it in a large project to send messages and data between application
  19. limelect

    Leak problem

    D10.2.3 using FastMM4 I have the same problem as https://stackoverflow.com/questions/71178572/memory-leak-of-tidcriticalsection-create-in-idthreadsafe-pas Tried this suggestion https://www.viathinksoft.com/codelib/144 on create Any Idea? P.S I tried FREE_ON_FINAL as Remy suggested but I am not sure I compile/Build Indy with my project
  20. limelect

    Leak problem

    @Remy Lebeau well I decided not to do any alteration to Delphi and thanks again
  21. limelect

    TMemo instead of TLabel

    If I understand your need add a flag to GetDescription(FLAG: boolean) so your function will know where it came from Memo.lines.add(getDescription(true)) or label.caption:=getdescription(false)
  22. limelect

    Leak problem

    @Remy Lebeau I am with D10.2.3. I run my application on the IDE and see afterward the Indy DCU that before they weren't there so I guess my software uses the compiled INDY. (on the source Delphi directory). I did not remove INDY but I am sure I compiled with INDY DCU I made. Well not to bother anymore I will leave the problem as it is. It does not affect my program. OUT OF CURIOSITY it is this program https://limelect.com/downloads/document-projects/ and thanks again
  23. limelect

    Leak problem

    @Remy Lebeau I took your suggestion and BUILD indy 10 with {$DEFINE FREE_ON_FINAL} in the include Made sure I did compile (build) as I have all DCU in the indy directory And it did not help I am trying all kinds of solution that why
  24. limelect

    I solved my problem but

    I solved my problem but i want to understand Using this function function GetUpDate(Link: string): string; var S: string; IdHTTP: TIdHTTP; begin IdHTTP := TIdHTTP.Create(nil);//Form1); try S := IdHTTP.Get(Link); result := S; except ShowMessage('Could not get VERSION information'); end; IdHTTP.Free; end; using IdHTTP := TIdHTTP.Create(nil) <<<< give me great amount of LEAKS, using IdHTTP := TIdHTTP.Create(Form1); <<< it is OK WHY thanks
  25. limelect

    Leak problem

    @rvk The leak is exactly in the first link Using fastmm4 A solution is on the second
×