Relation Between Static Keyword and Memory Allocation November 16, 2018 In Java, static keyword usage on variables means that memory is allocated and it will not be possible for the garbage collector to reclaim the memory until the application terminates.