Jump to content

Jud

Members
  • Content Count

    118
  • Joined

  • Last visited

Everything posted by Jud

  1. Jud

    Threads on dual-Xeon system

    Yes, but the only documentation I've found about it is: https://github.com/pleriche/FastMM5 I have no idea of how to use it or any of the details of what a memory manager does. I think it should be invisible. ---------- Does anyone know if OmniThreadLibrary will help with this?
  2. Jud

    Threads on dual-Xeon system

    I don't know how to do that - I haven't found good documentation on FastMM5. It didn't make a difference on the memory-intensive program on a single-i7 machine.
  3. Jud

    Threads on dual-Xeon system

    I have no problem assigning affinity for an entire program, but I can't get it to work on individual threads on a dual-Xeon system. Is there a way to make that work?
  4. Jud

    Threads on dual-Xeon system

    Well, I downloaded FastMM5, put it at the first of my ISES, did a build, and I get the error message: FastMM cannot be installed, because the default memory manager has already been used to allocate memory. I exited Delphi, restarted it, did a build, got the same thing. ADDED: Right after I wrote that I realized that it should go in USES in the DPROJ file instead of DPR file. That got rid of the error message. But I did a test on an quad-core i7, so 8 threads, and it is no faster.
  5. Jud

    Threads on dual-Xeon system

    I didn't know about FastMM5 but it sounds good!
  6. Jud

    Threads on dual-Xeon system

    Thank you both for the replies. I don't have the knowledge to write a memory manager, so I'll stick with what I'm doing now. Delphi is a little behind with support for 64-bit systems with large memories and/or multiple CPU chips. BTW, the dual-Xeon systems do well on multi-threaded computation-intensive tasks, but if it is memory intensive, it is more like two independent xeons.
  7. Jud

    Problems with 10.4 IDE

    Well the problem with local variables is only with subroutines called in the threads. But just about all of the work is inside threads! The problem with refactor/rename and Find Declaration went away but now they are back. I found someone discussing this problem on a much earlier version, XE7 I think, and what they said to do doesn't apply here. Does anyone have a solution?
  8. What is the best way to take an existing project, leave it exactly as it is, and start a new project (with a new name) from that point? Save As a new project name doesn't work (files are shared). You can't just put the files in another folder and rename them. I've been doing this by starting a new project (VCL) and copy and paste from the old project to the new one, but that is cumbersome. Is there a better way?
  9. The purpose of renaming the form is that in the original project, the forms have specific names. Starting a new VCL project names it Form1, etc. If you just paste code into the new one, every reference to the old form name will cause an error. The best way I know to avoid that is to rename the new form from Form1 to the same name as the old form - that avoids all of the errors. And generally there will be changes to the form once it is in the new project. Thanks for all of the replies.
  10. Sorry, I was overwhelmed by the number of responses and haven't been able to get to them (yet). I know that you can't simply copy the files to another folder and rename them. I know that you don't need the DSK file because the IDS will make a new one. Also, saving the project with a new name doesn't work because of problems with file names. The day after I posted the question, I needed to do this. This is what works for me, but it should be easier: 1. Start a new Windows VCL app 2. Save it with the new name in a new folder 3: Compile to generate the RES file (etc) 4. Temporarily rename the forms to the same name as the old ones 5. copy and paste the VCL components from the old forms to the new forms 6. Compile for good measure, to make sure all is OK (probably not necessary) 7. Copy and paste the source code after the UNIT statement to the new source files; delete what was in the new file except for the UNIT statement. 8. Compile for good measure 9. Rename the forms as desired 10. Set the events - make sure the OnClick of buttons go to the right place, etc 11. Compile 12. Make changes to the new project
  11. I have Delphi 10.4.1. I've used GetIt to download patches (worked very well). Now I'm trying to download a package from GetHub. I have a GitHub account. When I try to use GetIt to install a package, I get the message: Loading EULAS... (X) Cannot load data from the server: "RADStudio.josn" metadata file does not exist. (X) Setup cannot continue due to a corrupted installation file (I) - A problem occurred during the process. Is there something that I'm not doing correctly, or haven't done?
  12. Someone above gave me some command-line stuff that fixed my problem. You could try it.
  13. Well, several things did get fixed in 10.4.1. I had so many problems with 10.4 that I went back to 10.3.3. Now I'm on 10.4.1.
  14. That did it! Does this has to be done only once? --------------------- And, yes, a typo - I couldn't copy and paste.
  15. In he Delphi 10.3 IDE and earlier, when you stopped at a breakpoint, you could put the cursor over an identifier and it would show its value. Version 10.4 doesn't do that for me. Of course you can use Run/Inspect or Ctrl-F7, but what happened to putting the cursor over the identifier? Did they remove that feature? Is there a setting for it?
  16. Also, every time I exit 10.4, I get an error: access violation 50E52F55 in vcl270.bpl. I don't know if that is related to the IDE problems.
  17. Well, because of these problems, I'm back to using 10.3 for now. (I still had it on my computer!)
  18. Thank you for the replies. I have two other IDE issues (in 10.4), which may be related. (I have all three patches installed.) (1) Sometimes Refactor/rename works but most of the time the top few items on the refactor menu are disabled. (2) Sometimes Find Declaration works but most of the time it doesn't. I know that for both of these need to have a good compile to work, but I do that. Are these problems related to the first one?
×