Jump to content


Photo

Erro de memoria


  • Please log in to reply
8 replies to this topic

#1 Eduardo Suruagy

Eduardo Suruagy

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 70 posts

Posted 03 July 2013 - 01:51 AM

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

  • 0

#2 Eduardo Suruagy

Eduardo Suruagy

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 70 posts

Posted 04 July 2013 - 03:13 AM

Alguém aqui do grupo pode me ajudar???


  • 0

#3 NelsonFS

NelsonFS

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 86 posts

Posted 04 July 2013 - 11:12 AM

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+


  • 0

#4 perjanbr

perjanbr

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 85 posts
  • LocationCianorte-PR Brazil

Posted 04 July 2013 - 01:04 PM

Uma dica, 

 

 

procedure TUniMainModule.UniGUIMainModuleDestroy(Sender: TObject);
var  I: integer;
begin
  for I := 0 to ComponentCount - 1 do
  begin
    if Components[I] is TIBQuery then
      (Components[I] as TIBQuery).Close;
 
  end;
end;

  • 0

Jancarlos Martins


#5 Eduardo Suruagy

Eduardo Suruagy

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 70 posts

Posted 07 July 2013 - 10:53 PM

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.


  • 0

#6 Bruno

Bruno

    Active Member

  • Members
  • PipPipPip
  • 95 posts

Posted 08 July 2013 - 06:22 PM

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


  • 0

#7 Eduardo Suruagy

Eduardo Suruagy

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 70 posts

Posted 09 July 2013 - 01:40 AM

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?


  • 0

#8 jean_jlle

jean_jlle

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 25 September 2017 - 08:57 PM

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.


  • 0

#9 Leandro Avila

Leandro Avila

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 102 posts

Posted 26 September 2017 - 09:54 PM

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.


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users