Anonymous - 2021-02-18

Hi Kai,
from the java stack trace we see the problem occurs in jConnect (trying to acquire memory in InStreamMgr) Don't know if it is a Sybase bug

Do you have this problem very often ?
When the problem occurs you can execute manually the query of the BlockP collector and see if it retreives a lot of rows (asemon stores all rows in memory before inserting them in the asemon db)
The query :

select  
    time_blocked=0,
    blockedSpid=0,
    blockingSpid=0,

    L.SPID,
    L.KPID,
    L.DBID,
    ParentSPID,
    LockID,
    BlockedBy,
    BlockedState,
    Context,
    ObjectID,
    LockState,
    LockType,
    LockLevel,
    WaitTime,
    PageNumber,
    RowNumber,

    Usr=substring(suser_name(P.suid),1,30),
    Trn=substring(P.tran_name,1,30),
    Prg=substring(P.program_name,1,30),
    Prc=substring(     convert(varchar,P.id) ,1,30),
    Line=P.linenum,
    lckBase=substring(db_name(L.DBID),1,30),
    lckObjet=substring(object_name(L.ObjectID, L.DBID),1,30)


from master.dbo.monLocks L left outer join
     master.dbo.sysprocesses P on L.SPID=P.spid
where L.BlockedState is not null

Best regards
Jpm