eduardosuruagy Posted July 3, 2013 Posted July 3, 2013 Pessoal, todos os dias minha aplicação da erro de memoria e eu preciso reiniciar a mesma, alguém tem alguma dica do que possa estar acontecendo? Estou enviando o arquivo do log ok! Obrigado. Folha: 00001174: 00:02:02 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000D2C: 01:22:29 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000F28: 01:23:00 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000F70: 01:23:00 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001368: 01:24:50 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000968: 01:24:50 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000DBC: 06:22:56 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000774: 06:31:05 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000011E8: 07:14:35 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000006C4: 07:14:35 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000D84: 07:14:35 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000ACC: 07:14:36 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000DF0: 07:14:36 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000014CC: 07:15:01 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000BB0: 07:15:12 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000804: 07:26:40 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000009A0: 08:22:13 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000F08: 08:22:13 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000010AC: 08:22:13 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000014CC: 08:22:13 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001254: 08:22:13 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 0000088C: 08:22:15 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001580: 08:29:10 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001214: 08:33:17 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000A60: 08:33:17 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000D08: 08:49:54 [HandleFileRequest]:File not found: C:\Folha OnLine\Executaveis\favicon.ico Folha: 00000D00: 08:50:49 [HandleFileRequest]:File not found: C:\Folha OnLine\Executaveis\favicon.ico Folha: 00001400: 09:18:08 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000A08: 09:18:21 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001458: 09:18:22 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000FA0: 09:18:41 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 0000156C: 09:20:03 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000F04: 09:20:10 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000A1C: 09:20:55 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001738: 09:20:55 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000B44: 09:21:07 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000DC8: 09:21:19 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001148: 09:23:09 [HandleFileRequest]:File not found: C:\Folha OnLine\Executaveis\cache\Folha\NvaTUx6jSRgbQXm\ContraCheque_20368_152603.023.pdf Folha: 00001198: 09:35:30 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000B50: 09:35:30 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000E28: 09:36:39 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001174: 09:37:25 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001718: 09:37:28 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000744: 09:37:30 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000238: 09:37:30 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000007B0: 09:37:30 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000F94: 09:37:30 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000CAC: 09:37:40 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000BFC: 09:38:00 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001258: 09:39:02 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000AEC: 09:39:56 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 0000108C: 09:40:17 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001348: 09:40:21 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000011D8: 09:40:53 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000F24: 09:43:01 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001124: 09:43:27 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001470: 09:51:41 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001428: 09:52:26 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001768: 09:53:39 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000006D8: 09:54:27 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 0000081C: 09:54:29 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001588: 09:54:50 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000AFC: 09:55:18 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000F08: 10:22:05 [HandleFileRequest]:File not found: C:\Folha OnLine\Executaveis\robots.txt Folha: 00000F04: 10:22:08 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001214: 10:22:17 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000D30: 10:30:57 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000003C4: 10:31:10 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001348: 10:31:10 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000016D4: 10:31:13 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000006B0: 10:31:54 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001014: 10:33:56 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000009B8: 11:43:51 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000B28: 12:30:10 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000002F8: 12:30:40 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 0000078C: 12:57:46 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001098: 12:57:52 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001208: 12:58:33 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001660: 12:58:33 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000C3C: 12:58:45 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000748: 12:58:53 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000D38: 12:58:53 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000017BC: 12:58:53 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001214: 13:01:08 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000014E4: 13:01:38 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000F74: 13:01:38 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000008A8: 13:01:38 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000013A8: 13:01:38 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000A38: 13:01:41 [HandleFileRequest]:File not found: C:\Folha OnLine\Executaveis\favicon.ico Folha: 00001394: 13:01:46 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000A60: 13:01:47 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000BCC: 13:01:56 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000850: 13:01:56 [CommandGet]:EUniSessionException : Sessão invalida ou sessão finalizada. Folha: 0000127C: 13:01:56 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000F14: 13:01:56 [CommandGet]:EUniSessionException : Sessão invalida ou sessão finalizada. Folha: 00000D8C: 13:01:56 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000012E8: 13:01:56 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000FBC: 13:01:57 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000D7C: 13:01:57 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001434: 13:01:57 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 0000168C: 13:02:06 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 0000028C: 13:02:06 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000FCC: 13:02:06 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000834: 13:02:06 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 0000120C: 13:02:06 [CommandGet]:EUniSessionException : Sessão invalida ou sessão finalizada. Folha: 00000D00: 13:02:06 [CommandGet]:EUniSessionException : Sessão invalida ou sessão finalizada. Folha: 000006C4: 13:02:12 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000870: 13:02:12 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000960: 13:02:12 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001568: 13:02:13 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000013A8: 16:14:07 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000A60: 16:14:07 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 0000051C: 16:14:07 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000F80: 16:49:18 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000850: 17:47:28 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000F34: 17:48:37 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 0000108C: 17:49:53 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000017D0: 17:51:26 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 0000126C: 17:52:19 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000016D4: 17:52:34 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 0000165C: 17:52:34 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000C3C: 17:52:46 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000B64: 17:58:21 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000012A0: 17:58:33 [CommandGet]:EUniSessionException : Sessão invalida ou sessão finalizada. Folha: 00000984: 17:58:33 [CommandGet]:EUniSessionException : Sessão invalida ou sessão finalizada. Folha: 000012CC: 17:59:10 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000860: 17:59:40 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000011B0: 18:01:35 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000748: 18:01:35 [CommandGet]:EOutOfMemory : Out of memory Folha: 00000798: 18:01:36 [HandleFileRequest]:File not found: C:\Folha OnLine\Executaveis\favicon.ico Folha: 00000B28: 18:01:43 [CommandGet]:EOutOfMemory : Out of memory Folha: 00000EF4: 18:01:44 [HandleFileRequest]:File not found: C:\Folha OnLine\Executaveis\favicon.ico Folha: 00000A48: 18:01:56 [CommandGet]:EOutOfMemory : Out of memory Folha: 000011C0: 18:01:56 [HandleFileRequest]:File not found: C:\Folha OnLine\Executaveis\favicon.ico Folha: 0000120C: 18:02:16 [CommandGet]:EOutOfMemory : Out of memory Folha: 00000F2C: 18:02:18 [HandleFileRequest]:File not found: C:\Folha OnLine\Executaveis\favicon.ico Folha: 000009F8: 18:02:38 [CommandGet]:EOutOfMemory : Out of memory Folha: 000010D8: 18:02:39 [HandleFileRequest]:File not found: C:\Folha OnLine\Executaveis\favicon.ico Folha: 000009B8: 18:02:47 [CommandGet]:EOutOfMemory : Out of memory Folha: 000011C4: 18:02:48 [HandleFileRequest]:File not found: C:\Folha OnLine\Executaveis\favicon.ico Folha: 00001688: 18:02:55 [CommandGet]:EOutOfMemory : Out of memory Folha: 00000FCC: 18:02:55 [HandleFileRequest]:File not found: C:\Folha OnLine\Executaveis\favicon.ico Folha: 000006E4: 18:02:55 [CommandGet]:EOutOfMemory : Out of memory Folha: 00001394: 18:02:56 [HandleFileRequest]:File not found: C:\Folha OnLine\Executaveis\favicon.ico Folha: 00001360: 18:03:01 [CommandGet]:EOutOfMemory : Out of memory Folha: 00000930: 18:03:01 [HandleFileRequest]:File not found: C:\Folha OnLine\Executaveis\favicon.ico Folha: 00000890: 18:03:05 [CommandGet]:EOutOfMemory : Out of memory Folha: 000004CC: 18:03:06 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001640: 18:03:11 [CommandGet]:EOutOfMemory : Out of memory Folha: 00001420: 18:03:21 [CommandGet]:EOutOfMemory : Out of memory Folha: 00000978: 18:03:30 [CommandGet]:EOutOfMemory : Out of memory Folha: 0000022C: 18:03:34 [CommandGet]:EOutOfMemory : Out of memory Folha: 00000A2C: 18:03:35 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001284: 18:03:38 [CommandGet]:EOutOfMemory : Out of memory Folha: 00001590: 18:03:39 [HandleFileRequest]:File not found: C:\Folha OnLine\Executaveis\favicon.ico Folha: 00000AC0: 18:03:41 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000010AC: 18:03:41 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000008C4: 18:03:41 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001428: 18:03:41 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000FE0: 18:03:42 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000017F4: 18:03:43 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000E1C: 18:03:44 [CommandGet]:EAccessViolation : Access violation at address 00900E00 in module 'Folha.exe'. Write of address 00000004 Folha: 000002B8: 18:03:44 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000009A0: 18:03:44 [CommandGet]:EOutOfMemory : Out of memory Folha: 00000BFC: 18:03:44 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 0000103C: 18:03:44 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001284: 18:03:44 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 0000084C: 18:03:53 [HandleFileRequest]:File not found: C:\Folha OnLine\Executaveis\favicon.ico Folha: 00000860: 18:04:02 [CommandGet]:EAccessViolation : Access violation at address 00900E00 in module 'Folha.exe'. Write of address 00000004 Folha: 00000A60: 18:04:03 [CommandGet]:EAccessViolation : Access violation at address 00900E00 in module 'Folha.exe'. Write of address 00000004 Folha: 00001180: 18:04:03 [HandleFileRequest]:File not found: C:\Folha OnLine\Executaveis\favicon.ico Folha: 00000A8C: 18:04:06 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00000894: 18:04:11 [CommandGet]:EAccessViolation : Access violation at address 00900E00 in module 'Folha.exe'. Write of address 00000004 Folha: 00000870: 18:04:11 [HandleFileRequest]:File not found: C:\Folha OnLine\Executaveis\favicon.ico Folha: 00001684: 18:04:25 [CommandGet]:EOutOfMemory : Out of memory Folha: 000016AC: 18:04:30 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 0000086C: 18:04:59 [HandleFileRequest]:File not found: C:\Folha OnLine\Executaveis\favicon.ico Folha: 00001798: 18:07:26 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 00001260: 18:08:52 [HandleFileRequest]:File not found: C:\Folha OnLine\Executaveis\favicon.ico Folha: 000009F8: 18:09:53 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully. Folha: 000017F8: 18:10:47 [HandleFileRequest]:File not found: C:\Folha OnLine\Executaveis\robots.txt Quote
eduardosuruagy Posted July 4, 2013 Author Posted July 4, 2013 Alguém aqui do grupo pode me ajudar??? Quote
NelsonFS Posted July 4, 2013 Posted July 4, 2013 Varias situações podem levar a esse tipo de erro. 1 - Acesso a pagina inicial/login com o banco já aberto. Na verdade deve ser aberto a conexão com o banco somente depois digitado o usuário e senha e dado em OK. Nesse caso, o usuário pode simplesmente ter deixado a tela aberta e não feito login, assim a sessão expira por não ter concluido. 2 - Atingido o tempo limite, passou muito tempo sem mexer no sistema, ai é desconectado automaticamente a sessão. Tente deixar uma sessão aberta muito tempo em uma máquina na mesma rede do servidor, sem mexer nela, até várias horas, depois veja se fechou. 3 - Excesso de conexões simultâneas, nesse caso, a demora em responder uma sessão por outras estarem sobrecarregando, expira a sessão que não esta pedindo uma tarefa, talvez por uma conexão lenta ou mesmo travamento da aplicação em determinado momento por estar fazendo uma tarefa pesada. 4 - Bug no sistema, pode ter alguma instrução que derrube a conexão por ter ocorrido uma excessão.. acredito que não seja seu caso. 5 - Parâmetros do windows/firewall, verifique se tem algo no sistema que possa estar derrubando. Tente deixar sem firewall por um tempo. Também outros programas como antispywares podem influenciar por filtrarem conexões TCP. 6 - Crie um teste pequeno: Crie um programa pequeno no UNIGUI que escute outra porta (logico) e verifique se ele também cai depois de várias conexões. Em resumo.. tem que verificar tudo.. te+ Quote
Jancarlos Martins Posted July 4, 2013 Posted July 4, 2013 Uma dica, procedure TUniMainModule.UniGUIMainModuleDestroy(Sender: TObject); var I: integer; begin for I := 0 to ComponentCount - 1 do begin if Components is TIBQuery then (Components as TIBQuery).Close; end; end; Quote
eduardosuruagy Posted July 7, 2013 Author Posted July 7, 2013 Esse meu sistema simplesmente para de funcionar, ele gera muitos pdf's do contra cheque eletrônico de algumas prefeituras, eu acho q seja a geração desses pdf que esta sobrecarregando o aplicativo, pq a memoria so faz subir mesmo se fecho a aplicação. Quote
bruno-pere Posted July 8, 2013 Posted July 8, 2013 Veja se ajuda... Compila com o gerenciador de memória FastMM e ativa a detecção de memory leaks através de uma diretiva de compilação que não lembro agora. http://delphibistro.com/?p=186 Já utilizei muito o FastMM quando o gerenciador de memória do Delphi era bem pior, agora está mais moderno. Tem AQTime e madExcept também, o mad eu já utilizei muito também para fazer hooks. Abs! Bruno Quote
eduardosuruagy Posted July 9, 2013 Author Posted July 9, 2013 Boa noite, Depois de alguns testes em minha aplicação percebi que no meu server a opção Memory (Process) ela fica sempre acumulando, mesmo se eu fechar o browser ela não volta ao normal. Deve ser isso que esta causando a falta de memoria. Já a outra Memory (Internal) ela volta para 561 K. O que pode ser feito? Quote
jean_jlle Posted September 25, 2017 Posted September 25, 2017 Eduardo você resolveu este problema? Estou fazendo uns testes no Unigui e tenho o mesmo problema. Fecho a aplicação e a sessão e a memoria continua acumulando. Quote
leandroavila74 Posted September 26, 2017 Posted September 26, 2017 Boa noite, Depois de alguns testes em minha aplicação percebi que no meu server a opção Memory (Process) ela fica sempre acumulando, mesmo se eu fechar o browser ela não volta ao normal. Deve ser isso que esta causando a falta de memoria. Já a outra Memory (Internal) ela volta para 561 K. O que pode ser feito? Com certeza você está criando objetos em memória e não esta desalocando da memória depois da utilização o melhor a fazer é criar um mecanismo de log para determinar a sequencia em que as coisas acontecem e obter informações sobre isso e utilizar um gerenciador eficiente de exceptions tipo eurekalog. Quote
CarlosJ Posted March 6, 2019 Posted March 6, 2019 On 7/8/2013 at 10:40 PM, eduardosuruagy said: Boa noite, Depois de alguns testes em minha aplicação percebi que no meu server a opção Memory (Process) ela fica sempre acumulando, mesmo se eu fechar o browser ela não volta ao normal. Deve ser isso que esta causando a falta de memoria. Já a outra Memory (Internal) ela volta para 561 K. O que pode ser feito? Boa tarde, post antigo, mas estou com este problema agora, gero muitos PDFs e apresenta o mesmo problema, alguém resolveu? Quote
Andriws Luna Posted May 16, 2019 Posted May 16, 2019 Coloque isso ReportMemoryLeaksOnShutdown := True; ao fechar aplicação (não é abortar pelo delphi), todos os vazamentos de mórias serão mostrados. Leia de baixo para cima os nomes das classes. Procure pelas classes de seu projeto e verifica todos os programas que criam ela e não destroem. Um bom programa não pode apresentar nenhum memory leak. Minha sugestão é, vá abrindo pequenas partes da aplicação e fechando-a, até descobrir qual programa tem o vazamento. Se você abrir a aplicação e fazer um monte de coisa, no final você não saberá em qual tela ou processo o erro se encontra. Quote
Georges Soares Posted May 21, 2019 Posted May 21, 2019 Realmente Memory Leaks é complicado, mas seguindo os passos e testando parte a parte consegue resolver meus amigos, tive também uns BO com Memory Leaks, por fim era duas StringList que eu criava e não tinha dado Free nelas, Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.